aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Update.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Update.php b/Zotlabs/Module/Update.php
index 98137c4c2..b3252f8b9 100644
--- a/Zotlabs/Module/Update.php
+++ b/Zotlabs/Module/Update.php
@@ -8,6 +8,9 @@ class Update extends \Zotlabs\Web\Controller {
$profile_uid = intval($_GET['p']);
+ // it's probably safe to do this for all modules and not just a limited subset,
+ // but it needs to be verified.
+
if((! $profile_uid) && in_array(argv(1),['display','search','pubstream','home']))
$profile_uid = (-1);