]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #20. Removed space after FIELD in order by FIELD call.
authorBrett Profitt <brett.profitt@gmail.com>
Sat, 10 Mar 2012 00:03:39 +0000 (16:03 -0800)
committerBrett Profitt <brett.profitt@gmail.com>
Sat, 10 Mar 2012 00:03:39 +0000 (16:03 -0800)
classes/TidypicsAlbum.php

index 3d7d12b32ee39a0a256e53443e28f273eec22d71..ea9b5deef5c9c996e588be3cda98df30b003cc09 100644 (file)
@@ -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
                );