From 429870015fc9b1d94b24234152ad236f433e7f5a Mon Sep 17 00:00:00 2001 From: Domovoy Date: Fri, 17 Aug 2012 16:20:28 +0200 Subject: [PATCH] Comments on friends are back (stupid typo) --- include/conversation.php | 1 - object/Item.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index 2c1c274695..e45495a44d 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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); } } diff --git a/object/Item.php b/object/Item.php index 2505b8aee0..933b9825a7 100644 --- a/object/Item.php +++ b/object/Item.php @@ -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') ; -- 2.39.5