From c2cdd41e8139068426175c9e6c5fe2f771ea7caf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 9 Mar 2016 10:04:33 +0100 Subject: Issue #316 make /display updates work. Basically copy and paste what we do on load and add $simple_update to the query. --- include/ItemObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ItemObject.php') 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(), -- cgit v1.2.3