]> git.mxchange.org Git - friendica.git/commitdiff
add 'thread_level' to $item array (friendica/friendica@fc07f50fd8d2972009bebb3c974cbc...
authorDomovoy <domovoy@errlock.org>
Sat, 18 Aug 2012 15:56:38 +0000 (17:56 +0200)
committerDomovoy <domovoy@errlock.org>
Sat, 18 Aug 2012 15:56:38 +0000 (17:56 +0200)
object/Item.php

index 17b2cbe7bae6bcd4688b92e22098a265a308963c..ce4caa9cb35b3d430b7238d8f59b72dd9adc1b0c 100644 (file)
@@ -219,6 +219,7 @@ class Item extends BaseObject {
                        'comment' => $this->get_comment_box($indent),
                        'previewing' => $previewing,
                        'wait' => t('Please wait'),
+                       'thread_level' => $thread_level
                );
 
                $arr = array('item' => $item, 'output' => $tmp_item);
@@ -280,7 +281,7 @@ class Item extends BaseObject {
                        return false;
                }
                /*
-                * Only add will be displayed
+                * Only add what will be displayed
                 */
                if($item->get_data_value('network') === NETWORK_MAIL && local_user() != $item->get_data_value('uid')) {
                        logger('[WARN] Item::add_child : Item is a mail ('. $item->get_id() .').', LOGGER_DEBUG);