aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggFile.php')
-rw-r--r--engine/classes/ElggFile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/classes/ElggFile.php b/engine/classes/ElggFile.php
index fe25491a8..df42ab97f 100644
--- a/engine/classes/ElggFile.php
+++ b/engine/classes/ElggFile.php
@@ -322,6 +322,7 @@ class ElggFile extends ElggObject {
$options = array(
'guid' => $this->guid,
'where' => array("n.string LIKE 'filestore::%'"),
+ 'join' => "JOIN {$db_prefix}metastrings n on n_table.name_id = n.id"
);
$mds = elgg_get_metadata($options);