aboutsummaryrefslogtreecommitdiffstats
path: root/mod/update_display.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/update_display.php')
-rw-r--r--mod/update_display.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/update_display.php b/mod/update_display.php
index e23b29399..c8eb9c3a3 100644
--- a/mod/update_display.php
+++ b/mod/update_display.php
@@ -8,6 +8,8 @@ require_once('include/group.php');
function update_display_content(&$a) {
$profile_uid = intval($_GET['p']);
+ if(! $profile_uid)
+ $profile_uid = (-1);
$load = (((argc() > 1) && (argv(1) == 'load')) ? 1 : 0);
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";