summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/controllers/admin_tags.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php
index ced73d65..b42e3748 100644
--- a/modules/tag/controllers/admin_tags.php
+++ b/modules/tag/controllers/admin_tags.php
@@ -89,7 +89,7 @@ class Admin_Tags_Controller extends Admin_Controller {
$new_name = $this->input->post("name");
$new_tag = ORM::factory("tag")->where("name", $new_name)->find();
if ($new_tag->loaded) {
- $error_msg = t("There is already a tag with that name")->__toString();
+ $error_msg = (string)t("There is already a tag with that name");
$valid = false;
}
} else {