aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php
index bb0603eca..a8e89d194 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -643,10 +643,9 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
$channel = App::get_channel();
$observer = App::get_observer();
- if($update)
- $return_url = $_SESSION['return_url'];
- else
- $return_url = $_SESSION['return_url'] = App::$query_string;
+ if (!$update) {
+ $_SESSION['return_url'] = App::$query_string;
+ }
load_contact_links(local_channel());