]> git.mxchange.org Git - friendica.git/commitdiff
Comments on friends are back (stupid typo)
authorDomovoy <domovoy@errlock.org>
Fri, 17 Aug 2012 14:20:28 +0000 (16:20 +0200)
committerDomovoy <domovoy@errlock.org>
Fri, 17 Aug 2012 14:20:28 +0000 (16:20 +0200)
include/conversation.php
object/Item.php

index 2c1c2746959df6fcd176f864949795f02650e38e..e45495a44d1b372979492e095f4e44ff816ada62 100644 (file)
@@ -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);
                }
        }
                
index 2505b8aee0ba656cf19d1f5b310ec63429f49885..933b9825a7732ab2737af5983bd6d2a4bf567124 100644 (file)
@@ -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') ;