From: Domovoy Date: Thu, 23 Aug 2012 08:56:22 +0000 (+0200) Subject: Toplevel items a treaded as non-threaded ones (comment-box is at the bottom) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8ba00d7980a2fab2f19fb47e6e44581896972c2;p=friendica.git Toplevel items a treaded as non-threaded ones (comment-box is at the bottom) --- diff --git a/object/Item.php b/object/Item.php index be959dcb38..c7b40070d9 100644 --- a/object/Item.php +++ b/object/Item.php @@ -40,7 +40,7 @@ class Item extends BaseObject { $ssl_state = ((local_user()) ? true : false); $this->redirect_url = $a->get_baseurl($ssl_state) . '/redir/' . $this->get_data_value('cid') ; - if(get_config('system','thread_allow') && $a->theme_thread_allow) + if(get_config('system','thread_allow') && $a->theme_thread_allow && !$this->is_toplevel()) $this->threaded = true; // Prepare the children