diff --git a/e107_handlers/media_class.php b/e107_handlers/media_class.php index aabd2b50f..1d32d9bff 100644 --- a/e107_handlers/media_class.php +++ b/e107_handlers/media_class.php @@ -790,7 +790,7 @@ class e_media $data_bb = ($bbcode) ? "img" : ""; - $img_url = ($cat !='_icon') ? e107::getParser()->thumbUrl($im['media_url'], $thumbAtt) : $media_path; + $img_url = (!empty($cat)) ? e107::getParser()->thumbUrl($im['media_url'], $thumbAtt) : $media_path; $text .= ""; $text .= "\"".$im['media_title']."\""; diff --git a/e107_themes/landingzero/theme_shortcodes.php b/e107_themes/landingzero/theme_shortcodes.php index 178ee2055..0cc5f1da6 100644 --- a/e107_themes/landingzero/theme_shortcodes.php +++ b/e107_themes/landingzero/theme_shortcodes.php @@ -116,7 +116,7 @@ class theme_shortcodes extends e_shortcode } - //@todo Replace with social template. + //@todo Replace with social template. function sc_xurl_icons() { $social = array(