aAttribs may not be used in all cases
[squirrelmail.git] / templates / default / horizontal_rule.tpl
index 46d7c58478ea76cdab044940abb67825d426ce5f..2bbaa4fe71881f5ca6357100625ad3a04808d719 100644 (file)
@@ -27,7 +27,7 @@ extract($t);
 
 
 echo '<hr'; 
-foreach ($aAttribs as $key => $value) {
+if (isset($aAttribs)) foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
 }
 echo ' />';