From 2a95500b6538f130df9434f1fb253247872679e8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 13 Oct 2022 13:15:08 +0200 Subject: fix more php warnings --- Zotlabs/Widget/Fullprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Widget/Fullprofile.php') diff --git a/Zotlabs/Widget/Fullprofile.php b/Zotlabs/Widget/Fullprofile.php index edff88e31..e40188c9e 100644 --- a/Zotlabs/Widget/Fullprofile.php +++ b/Zotlabs/Widget/Fullprofile.php @@ -12,7 +12,7 @@ class Fullprofile { function widget($arr) { - if(! \App::$profile['profile_uid']) + if(!(isset(\App::$profile['profile_uid']) && \App::$profile['profile_uid'])) return; $block = observer_prohibited(); -- cgit v1.2.3