From 8879776d6436ed5257648a1873ddaa9486b25070 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 23 Oct 2022 14:02:19 +0200 Subject: fix php warnings --- Zotlabs/Module/Manage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module/Manage.php') diff --git a/Zotlabs/Module/Manage.php b/Zotlabs/Module/Manage.php index 3f168c15d..2cc05e09c 100644 --- a/Zotlabs/Module/Manage.php +++ b/Zotlabs/Module/Manage.php @@ -6,7 +6,7 @@ class Manage extends \Zotlabs\Web\Controller { function get() { - if((! get_account_id()) || ($_SESSION['delegate'])) { + if((! get_account_id()) || (isset($_SESSION['delegate']) && $_SESSION['delegate'])) { notice( t('Permission denied.') . EOL); return; } -- cgit v1.2.3