aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/annotations.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 4d84b2d34..92253bf1d 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -576,6 +576,8 @@
$entity_subtype = get_subtype_id($entity_type, $entity_subtype);
$name = get_metastring_id($name);
+ if (empty($name)) return 0;
+
$where = array();
if ($entity_guid)