diff --git a/e107_core/templates/email_template.php b/e107_core/templates/email_template.php index 9084f4f6f..9d1687708 100644 --- a/e107_core/templates/email_template.php +++ b/e107_core/templates/email_template.php @@ -108,6 +108,7 @@ $EMAIL_TEMPLATE['default']['header'] = " diff --git a/e107_plugins/siteinfo/e_shortcode.php b/e107_plugins/siteinfo/e_shortcode.php index 5c734d4d6..8f94b0322 100644 --- a/e107_plugins/siteinfo/e_shortcode.php +++ b/e107_plugins/siteinfo/e_shortcode.php @@ -24,10 +24,10 @@ class siteinfo_shortcodes // must match the folder name of the plugin. { $path = e107::getConfig()->get('sitebutton'); } - //TODO use CSS class? + if(!empty($path)) { - return ''.SITENAME.''; + return ''.SITENAME.''; } }