aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets.php')
-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']))