aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index 02c75c775..f0e677ba5 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -90,6 +90,7 @@ function contacts_content(&$a) {
$o = '';
$o .= '<script> $(document).ready(function() { $(\'#nav-contacts-link\').addClass(\'nav-selected\'); });</script>';
+ $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd;
if(! local_user()) {
notice( t('Permission denied.') . EOL);
@@ -164,7 +165,6 @@ function contacts_content(&$a) {
return;
}
- $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd;
require_once('view/contact_selectors.php');