// parse error
This commit is contained in:
1 parent
1cc92fc9c2
commit
c9b53685c5
1 file changed
+1
-1
+1
-1
@@ -106,7 +106,7 @@ class TagCore extends ObjectModel
|
|||||||
if (!Validate::isGenericName($tag))
|
if (!Validate::isGenericName($tag))
|
||||||
return false;
|
return false;
|
||||||
$tag = trim(substr($tag, 0, self::$definition['fields']['name']['size']));
|
$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 */
|
/* Tag does not exist in database */
|
||||||
if (!Validate::isLoadedObject($tag_obj))
|
if (!Validate::isLoadedObject($tag_obj))
|
||||||
|
|||||||
Reference in new issue
Block a user