aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Photo_albums.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Widget/Photo_albums.php')
-rw-r--r--Zotlabs/Widget/Photo_albums.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Photo_albums.php b/Zotlabs/Widget/Photo_albums.php
index 2ce916048..d0004e68d 100644
--- a/Zotlabs/Widget/Photo_albums.php
+++ b/Zotlabs/Widget/Photo_albums.php
@@ -14,8 +14,9 @@ class Photo_albums {
function widget($arr) {
- if(! \App::$profile['profile_uid'])
+ if (!(isset(\App::$profile['profile_uid']) && \App::$profile['profile_uid'])) {
return '';
+ }
$channelx = channelx_by_n(\App::$profile['profile_uid']);