Toplevel items a treaded as non-threaded ones (comment-box is at the bottom)
This commit is contained in:
parent
3e5c711a72
commit
c8ba00d798
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Item extends BaseObject {
|
||||||
$ssl_state = ((local_user()) ? true : false);
|
$ssl_state = ((local_user()) ? true : false);
|
||||||
$this->redirect_url = $a->get_baseurl($ssl_state) . '/redir/' . $this->get_data_value('cid') ;
|
$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;
|
$this->threaded = true;
|
||||||
|
|
||||||
// Prepare the children
|
// Prepare the children
|
||||||
|
|
Loading…
Reference in a new issue