diff options
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/annotations.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 92253bf1d..94fbf7f4e 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -630,7 +630,9 @@ global $CONFIG;
$guid = (int)$guid;
- $name = get_metastring_id($name);
+
+ if (!empty($name))
+ $name = get_metastring_id($name);
$entity_guid = (int) $guid;
if ($entity = get_entity($entity_guid)) {
|