aboutsummaryrefslogtreecommitdiffstats
path: root/mod/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/display.php')
-rwxr-xr-xmod/display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/display.php b/mod/display.php
index 4f2e5ff9a..00f8b503a 100755
--- a/mod/display.php
+++ b/mod/display.php
@@ -34,7 +34,7 @@ function display_content(&$a) {
$contact = null;
$remote_contact = false;
-dbg(1);
+
if(remote_user()) {
$contact_id = $_SESSION['visitor_id'];
$groups = init_groups_visitor($contact_id);
@@ -138,7 +138,7 @@ dbg(1);
}
}
-dbg(0);
+
return $o;
}