diff --git a/include/widgets.php b/include/widgets.php index a94bf03dc..e995b213f 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -946,16 +946,16 @@ function widget_rating($arr) { } - if((! $remote) && (! local_channel())) - return; + if(($remote) || (local_channel())) { + $o = '
'; + if($remote) + $o .= ' ' . t('Rate Me') . ''; + else + $o .= ''; + $o .= '
'; + } - $o = '
'; - if($remote) - $o .= ' ' . t('Rate Me') . ''; - else - $o .= ''; - - $o .= '
' . t('View Ratings') . ''; + $o .= '
' . t('View Ratings') . ''; $o .= '
'; return $o;