aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-13 01:59:41 +0100
committerSem <sembrestels@riseup.net>2012-12-13 01:59:41 +0100
commitbda5906a8d29fc1c59208860e8f5f21c1b169557 (patch)
tree62c8dbb698884fbe726f0aa11f6414c8fc23cf6a
parent24c58d2c465721e04e576a923161aa502eb11a8b (diff)
downloadelgg-bda5906a8d29fc1c59208860e8f5f21c1b169557.tar.gz
elgg-bda5906a8d29fc1c59208860e8f5f21c1b169557.tar.bz2
Fixed security issue.
-rw-r--r--engine/classes/ElggVolatileMetadataCache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/classes/ElggVolatileMetadataCache.php b/engine/classes/ElggVolatileMetadataCache.php
index 24ae58d42..ab45aadec 100644
--- a/engine/classes/ElggVolatileMetadataCache.php
+++ b/engine/classes/ElggVolatileMetadataCache.php
@@ -279,6 +279,7 @@ class ElggVolatileMetadataCache {
),
'selects' => array('n.string AS name', 'v.string AS value'),
'order_by' => 'n_table.entity_guid, n_table.time_created ASC',
+ 'wheres' => array(get_access_sql_suffix('n_table')),
);
$data = elgg_get_metadata($options);