From c9b53685c5f4e5ed8cc63d0f3e152938f29b212f Mon Sep 17 00:00:00 2001 From: gRoussac Date: Tue, 24 Sep 2013 15:44:56 +0200 Subject: [PATCH] // parse error --- classes/Tag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Tag.php b/classes/Tag.php index 17b0faba4..3b57de7b2 100644 --- a/classes/Tag.php +++ b/classes/Tag.php @@ -106,7 +106,7 @@ class TagCore extends ObjectModel if (!Validate::isGenericName($tag)) return false; $tag = trim(substr($tag, 0, self::$definition['fields']['name']['size'])); - $tag_obj = new Tag(null, $tag), (int)$id_lang); + $tag_obj = new Tag(null, $tag, (int)$id_lang); /* Tag does not exist in database */ if (!Validate::isLoadedObject($tag_obj))