]> git.mxchange.org Git - friendica.git/commitdiff
wasn't actually changed before
authorTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 13:01:58 +0000 (13:01 +0000)
committerTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 13:01:58 +0000 (13:01 +0000)
include/conversation.php

index 53369cf20f3ae1289fe75eeb47a6ed3e448bdc6c..6f0dc3687eb92f23f57c1491fd470645f86f3681 100755 (executable)
@@ -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']) {