Toplevel items a treaded as non-threaded ones (comment-box is at the bottom)

This commit is contained in:
Domovoy 2012-08-23 10:56:22 +02:00
parent 3e5c711a72
commit c8ba00d798
1 changed files with 1 additions and 1 deletions

View 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