From d9a3325805995e78ecf68942b6c153d90f363619 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 8 Jan 2009 11:15:07 +0000 Subject: Closes #667: Minor tweak, an e should be an m git-svn-id: https://code.elgg.org/elgg/trunk@2540 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 896b7652f..481fdda16 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -660,7 +660,7 @@ foreach ($where as $w) $query .= " $w and "; $query .= get_access_sql_suffix("e"); // Add access controls - $query .= ' and ' . get_access_sql_suffix("e"); // Add access controls + $query .= ' and ' . get_access_sql_suffix("m"); // Add access controls if (!$count) { $query .= " order by $order_by limit $offset, $limit"; // Add order and limit -- cgit v1.2.3