aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-08 16:46:47 -0800
committerredmatrix <git@macgirvin.com>2016-03-08 16:46:47 -0800
commit843cc1481af008f35804628686459437cedf3220 (patch)
treea20b5371fd2f41d5aae984c433855e8a27a10675 /include
parentcf4dc2caa82c9d03ac667feed5f5671510e0e00a (diff)
downloadvolse-hubzilla-843cc1481af008f35804628686459437cedf3220.tar.gz
volse-hubzilla-843cc1481af008f35804628686459437cedf3220.tar.bz2
volse-hubzilla-843cc1481af008f35804628686459437cedf3220.zip
isue #315
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 0d31133e7..65c745a05 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -983,6 +983,9 @@ function widget_cover_photo($arr) {
$o = '';
$a = get_app();
+
+ if($a->module == 'channel' && $_REQUEST['mid'])
+ return '';
$channel_id = 0;
if(array_key_exists('channel_id', $arr) && intval($arr['channel_id']))