Add option that allows users to have replies to their own messages sent to the recipi...
[squirrelmail.git] / templates / default / line_break.tpl
index 4c782813bd736cdc7adcfc8c0bd9dff2cc4a00ad..07ea5cca6bc85f1bc3eeefc8b0a2d2296a4e42d4 100644 (file)
@@ -13,7 +13,7 @@
   *                 in double quotes as attribute values (optional;
   *                 may not be present)
   *
-  * @copyright © 1999-2008 The SquirrelMail Project Team
+  * @copyright 1999-2012 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id: line_break.tpl 12046 2007-01-02 21:03:07Z pdontthink $
   * @package squirrelmail
   */
 
 
+// retrieve the template vars
+//
+extract($t);
+
+
 echo '<br';
-foreach ($aAttribs as $key => $value) {
+if (isset($aAttribs)) foreach ($aAttribs as $key => $value) {
     echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"');
 }
 echo ' />';