diff options
-rw-r--r-- | engine/lib/annotations.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 6cc6ae1c6..09158d6a3 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -302,9 +302,9 @@ $where = array();
- if ($entity_guid != 0 && !is_array($owner_guid)) {
+ if ($entity_guid != 0 && !is_array($entity_guid)) {
$where[] = "a.entity_guid=$entity_guid";
- } else if (is_array($owner_guid)) {
+ } else if (is_array($entity_guid)) {
$where[] = "a.entity_guid in (". implode(",",$entity_guid) . ")";
}
|