aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-03 15:19:04 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-03 15:19:04 +0000
commit1564e86c41a24d826494399e1d35fc18ef7906ed (patch)
tree34639d189e603c64f8e474016347dfa25a0ef5f9 /engine/lib/relationships.php
parenta38d522e6650115f99f6e5232db69cb58acf443e (diff)
downloadelgg-1564e86c41a24d826494399e1d35fc18ef7906ed.tar.gz
elgg-1564e86c41a24d826494399e1d35fc18ef7906ed.tar.bz2
missing comma added
git-svn-id: https://code.elgg.org/elgg/trunk@3457 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
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;