diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-03-09 16:03:39 -0800 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-03-09 16:03:39 -0800 |
commit | 2245c9d883959db535f5380ea8d5278982c05b5b (patch) | |
tree | 0d38e1cfd56b12e2b6ed9c9232def23a36365fd0 /classes | |
parent | 873b6c81eedc4f016eeb0371f83850876aa62ff8 (diff) | |
download | elgg-2245c9d883959db535f5380ea8d5278982c05b5b.tar.gz elgg-2245c9d883959db535f5380ea8d5278982c05b5b.tar.bz2 |
Fixes #20. Removed space after FIELD in order by FIELD call.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/TidypicsAlbum.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/TidypicsAlbum.php b/classes/TidypicsAlbum.php index 3d7d12b32..ea9b5deef 100644 --- a/classes/TidypicsAlbum.php +++ b/classes/TidypicsAlbum.php @@ -190,7 +190,7 @@ class TidypicsAlbum extends ElggObject { $guidsString = implode(',', $list); $options = array( 'wheres' => array("e.guid IN ($guidsString)"), - 'order_by' => "FIELD (e.guid, $guidsString)", + 'order_by' => "FIELD(e.guid, $guidsString)", 'callback' => 'tp_guid_callback', 'limit' => ELGG_ENTITIES_NO_VALUE ); |