aAttribs may not be used in all cases
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2008 19:13:41 +0000 (19:13 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 3 Jul 2008 19:13:41 +0000 (19:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13213 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/horizontal_rule.tpl
templates/default/line_break.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 ' />';
index 41e774c058b9f47cab015695c17f6986f4bffd8e..d45a3a2579a188959808cf675c27dfe9510ad28b 100644 (file)
@@ -27,7 +27,7 @@ extract($t);
 
 
 echo '<br';
-foreach ($aAttribs as $key => $value) {
+if (isset($aAttribs)) foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
 }
 echo ' />';