From: dave Date: Thu, 3 Sep 2009 15:19:04 +0000 (+0000) Subject: missing comma added X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1564e86c41a24d826494399e1d35fc18ef7906ed;p=lorea%2Felgg.git missing comma added git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php index dff087f7b..47ab619d6 100644 --- a/engine/lib/relationships.php +++ b/engine/lib/relationships.php @@ -515,7 +515,7 @@ return false; $owner_guid = (int)$owner_guid; if ($order_by == "") $order_by = "time_created desc"; - else $order_by = "time_created {$order_by}"; + else $order_by = "time_created, {$order_by}"; $order_by = sanitise_string($order_by); $limit = (int)$limit; $offset = (int)$offset;