diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-03-09 10:04:33 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-03-09 10:04:33 +0100 |
commit | c2cdd41e8139068426175c9e6c5fe2f771ea7caf (patch) | |
tree | fef4e96cc2435b6dac1973c85a04979103e7c379 /include | |
parent | 843cc1481af008f35804628686459437cedf3220 (diff) | |
download | volse-hubzilla-c2cdd41e8139068426175c9e6c5fe2f771ea7caf.tar.gz volse-hubzilla-c2cdd41e8139068426175c9e6c5fe2f771ea7caf.tar.bz2 volse-hubzilla-c2cdd41e8139068426175c9e6c5fe2f771ea7caf.zip |
Issue #316 make /display updates work. Basically copy and paste what we do on load and add $simple_update to the query.
Diffstat (limited to 'include')
-rw-r--r-- | include/ItemObject.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php index 2be7e3ac9..da019a30a 100644 --- a/include/ItemObject.php +++ b/include/ItemObject.php @@ -689,7 +689,7 @@ class Item extends BaseObject { $comment_box = replace_macros($template,array( '$return_path' => '', '$threaded' => $this->is_threaded(), - '$jsreload' => (($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''), + '$jsreload' => '', //(($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''), '$type' => (($conv->get_mode() === 'channel') ? 'wall-comment' : 'net-comment'), '$id' => $this->get_id(), '$parent' => $this->get_id(), |