diff options
-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 ); |