]> git.mxchange.org Git - friendica.git/commitdiff
Toplevel items a treaded as non-threaded ones (comment-box is at the bottom)
authorDomovoy <domovoy@errlock.org>
Thu, 23 Aug 2012 08:56:22 +0000 (10:56 +0200)
committerDomovoy <domovoy@errlock.org>
Thu, 23 Aug 2012 08:56:22 +0000 (10:56 +0200)
object/Item.php

index be959dcb38720cfe8c4199ce30f6bdb2f6180e28..c7b40070d92cffc78e00f48e47a01b63b1d6db4e 100644 (file)
@@ -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