aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-28 13:01:58 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-28 13:01:58 +0000
commit1204210c69eade767bb19af5a5a18cee4a9db215 (patch)
treed0c908a0c198752ce4e5a2539a02dd8307653f64
parente55d13c2b4425183dde64da8ca27c794f4c04900 (diff)
downloadvolse-hubzilla-1204210c69eade767bb19af5a5a18cee4a9db215.tar.gz
volse-hubzilla-1204210c69eade767bb19af5a5a18cee4a9db215.tar.bz2
volse-hubzilla-1204210c69eade767bb19af5a5a18cee4a9db215.zip
wasn't actually changed before
-rwxr-xr-xinclude/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 53369cf20..6f0dc3687 100755
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -976,8 +976,8 @@ function conv_sort($arr,$order) {
usort($parents,'sort_thr_commented');
if(count($parents))
- foreach($parents as $x)
- $x['children'] = array();
+ foreach($parents as $i=>$_x)
+ $parents[$i]['children'] = array();
foreach($arr as $x) {
if($x['id'] != $x['parent']) {