aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-28 17:57:45 -0700
committerfriendica <info@friendica.com>2013-08-28 17:57:45 -0700
commitc877d8f9fae246812930c2f2c45db40a52b09366 (patch)
tree20b1765260802f95f81245249d8c3076bf2d4399 /include/conversation.php
parent95fcf773be12a9307eeefe7f392277bf44036946 (diff)
downloadvolse-hubzilla-c877d8f9fae246812930c2f2c45db40a52b09366.tar.gz
volse-hubzilla-c877d8f9fae246812930c2f2c45db40a52b09366.tar.bz2
volse-hubzilla-c877d8f9fae246812930c2f2c45db40a52b09366.zip
It's a wretched mess, but at least photo comments show up again when viewing the photo. This is just temporary until these conversations are merged into the common conversation viewer, so it's not worth spending a lot of time cleaning up the remnants.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index bd1e12c4e..8648209e9 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1150,6 +1150,7 @@ function conv_sort($arr,$order) {
elseif(stristr($order,'ascending'))
usort($parents,'sort_thr_created_rev');
+
if(count($parents))
foreach($parents as $i=>$_x)
$parents[$i]['children'] = get_item_children($arr, $_x);