From 1564e86c41a24d826494399e1d35fc18ef7906ed Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 3 Sep 2009 15:19:04 +0000 Subject: missing comma added git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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; -- cgit v1.2.3