From 628aa953ec150a1ed34680ef1d4f9c81dfc99bb1 Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Sat, 16 Apr 2011 17:43:18 -0400 Subject: Denormalizing annotation names for calculation functions. --- engine/classes/ElggFile.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/classes/ElggFile.php') 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); -- cgit v1.2.3