aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/annotations.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-06 18:45:23 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-06 18:45:23 +0000
commite55f92c156cc171dbd8177f58c7f7883a1332806 (patch)
tree0c940a4c12c70ef953f39f25f4ad099671209d6a /engine/lib/annotations.php
parent5f21a1424045084e35a50e630ecc012c06eb933e (diff)
downloadelgg-e55f92c156cc171dbd8177f58c7f7883a1332806.tar.gz
elgg-e55f92c156cc171dbd8177f58c7f7883a1332806.tar.bz2
Fixes #648: Copy and paste error corrected.
git-svn-id: https://code.elgg.org/elgg/trunk@2533 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/annotations.php')
-rw-r--r--engine/lib/annotations.php4
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) . ")";
}