From 119bd59fea8b21872ea49e1ed679b010177d5fec Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 3 Jul 2008 19:13:41 +0000 Subject: [PATCH] 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 --- templates/default/horizontal_rule.tpl | 2 +- templates/default/line_break.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ' />'; -- 2.25.1