diff --git a/inc/template.php b/inc/template.php index 85d3f9eee0b41085823924159931f01482bb18a2..19c36abedfcc6ebe154ed6f9327708cbb8c6189d 100644 --- a/inc/template.php +++ b/inc/template.php @@ -449,6 +449,7 @@ function _tpl_metaheaders_action($data) { echo "<!--[if gte IE 9]><!-->\n"; // no scripts for old IE } foreach($inst as $attr) { + if ( empty($attr) ) { continue; } echo '<', $tag, ' ', buildAttributes($attr); if(isset($attr['_data']) || $tag == 'script') { if($tag == 'script' && $attr['_data'])