Comments on friends are back (stupid typo)
This commit is contained in:
parent
16260e9fbb
commit
429870015f
2 changed files with 1 additions and 2 deletions
|
@ -885,7 +885,6 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
logger('[ERROR] conversation : Failed to get template data.', LOGGER_DEBUG);
|
||||
$threads = array();
|
||||
}
|
||||
logger('[DEBUG] conversation : $threads = '. print_r($threads, true), LOGGER_DEBUG);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class Item extends BaseObject {
|
|||
$this->data = $data;
|
||||
$this->set_template('wall');
|
||||
$this->toplevel = ($this->get_id() == $this->get_data_value('parent'));
|
||||
$this->writeable = ($this->get_data_value('writeable') || $this->get_data_value('self'));
|
||||
$this->writeable = ($this->get_data_value('writable') || $this->get_data_value('self'));
|
||||
|
||||
$ssl_state = ((local_user()) ? true : false);
|
||||
$this->redirect_url = $a->get_baseurl($ssl_state) . '/redir/' . $this->get_data_value('cid') ;
|
||||
|
|
Loading…
Reference in a new issue