From 2245c9d883959db535f5380ea8d5278982c05b5b Mon Sep 17 00:00:00 2001 From: Brett Profitt Date: Fri, 9 Mar 2012 16:03:39 -0800 Subject: Fixes #20. Removed space after FIELD in order by FIELD call. --- classes/TidypicsAlbum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/TidypicsAlbum.php') 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 ); -- cgit v1.2.3