aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-04 21:39:53 -0800
committerzotlabs <mike@macgirvin.com>2017-12-04 21:39:53 -0800
commitd4acf4119226394b203d8bb52b75eec6d56d6631 (patch)
treebcb9e5635486fef36a8a80379bef9c29ecea92b9 /Zotlabs
parent24d256e253a2a16391e9a5771d2b5bc9578b951d (diff)
downloadvolse-hubzilla-d4acf4119226394b203d8bb52b75eec6d56d6631.tar.gz
volse-hubzilla-d4acf4119226394b203d8bb52b75eec6d56d6631.tar.bz2
volse-hubzilla-d4acf4119226394b203d8bb52b75eec6d56d6631.zip
explain what happened here
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);