1
1
Fork 0

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

View file

@ -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