From: pdontthink Date: Thu, 3 Jul 2008 19:13:41 +0000 (+0000) Subject: aAttribs may not be used in all cases X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=119bd59fea8b21872ea49e1ed679b010177d5fec aAttribs may not be used in all cases git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13213 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/horizontal_rule.tpl b/templates/default/horizontal_rule.tpl index 46d7c584..2bbaa4fe 100644 --- a/templates/default/horizontal_rule.tpl +++ b/templates/default/horizontal_rule.tpl @@ -27,7 +27,7 @@ extract($t); echo ' $value) { +if (isset($aAttribs)) foreach ($aAttribs as $key => $value) { echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"'); } echo ' />'; diff --git a/templates/default/line_break.tpl b/templates/default/line_break.tpl index 41e774c0..d45a3a25 100644 --- a/templates/default/line_break.tpl +++ b/templates/default/line_break.tpl @@ -27,7 +27,7 @@ extract($t); echo ' $value) { +if (isset($aAttribs)) foreach ($aAttribs as $key => $value) { echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"'); } echo ' />';