From e55f92c156cc171dbd8177f58c7f7883a1332806 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 6 Jan 2009 18:45:23 +0000 Subject: Fixes #648: Copy and paste error corrected. git-svn-id: https://code.elgg.org/elgg/trunk@2533 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') 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) . ")"; } -- cgit v1.2.3