diff options
author | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-04 21:52:22 +0000 |
---|---|---|
committer | Thomas Willingham <beardyunixer@beardyunixer.com> | 2014-12-04 21:52:22 +0000 |
commit | f1367cb9f9b86379fe5a80c69691414483e58bad (patch) | |
tree | 9ce3839053b5239fbfd49c2e66e2375e824a17e4 /include | |
parent | 6df5c5a8e1d254a8bd6b45eb45d477fd698f5a68 (diff) | |
download | volse-hubzilla-f1367cb9f9b86379fe5a80c69691414483e58bad.tar.gz volse-hubzilla-f1367cb9f9b86379fe5a80c69691414483e58bad.tar.bz2 volse-hubzilla-f1367cb9f9b86379fe5a80c69691414483e58bad.zip |
Missing include if photo album widget called from not-the-photos page.
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php index f7b8a20bd..e686fd5bd 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -606,6 +606,7 @@ function widget_photo_albums($arr) { $channelx = channelx_by_n($a->profile['profile_uid']); if((! $channelx) || (! perm_is_allowed($a->profile['profile_uid'],get_observer_hash(),'view_photos'))) return ''; + require_once('include/photos.php'); return photos_album_widget($channelx,$a->get_observer()); } @@ -918,4 +919,4 @@ function widget_random_block($arr) { } return $o; -}
\ No newline at end of file +} |