aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-08 11:15:07 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-01-08 11:15:07 +0000
commitd9a3325805995e78ecf68942b6c153d90f363619 (patch)
treed26f2d06a2b0449e48c2bcbc9a832af59e8878ff /engine/lib
parentf51c33f78495d373c097c4f0fa4deffd203b2285 (diff)
downloadelgg-d9a3325805995e78ecf68942b6c153d90f363619.tar.gz
elgg-d9a3325805995e78ecf68942b6c153d90f363619.tar.bz2
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
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
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