From d4acf4119226394b203d8bb52b75eec6d56d6631 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 4 Dec 2017 21:39:53 -0800 Subject: explain what happened here --- Zotlabs/Module/Update.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zotlabs') 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); -- cgit v1.2.3