From c8ba00d7980a2fab2f19fb47e6e44581896972c2 Mon Sep 17 00:00:00 2001 From: Domovoy Date: Thu, 23 Aug 2012 10:56:22 +0200 Subject: [PATCH] Toplevel items a treaded as non-threaded ones (comment-box is at the bottom) --- object/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5