Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
[squirrelmail.git] / class / template / Template.class.php
index be77e19f40715816b2d7ee63dcc872c8bd4ae7df..b12da29dbe06769272c57e74fed79dfe5fc09c7b 100644 (file)
@@ -8,7 +8,7 @@
   * class with any custom functionality needed to interface a target
   * templating engine with SquirrelMail.
   *
-  * @copyright 2003-2009 The SquirrelMail Project Team
+  * @copyright 2003-2012 The SquirrelMail Project Team
   * @license http://opensource.org/licenses/gpl-license.php GNU Public License
   * @version $Id$
   * @package squirrelmail
@@ -1480,7 +1480,7 @@ FIXME: We could make the incoming array more complex so it can
 
         if (empty($template)) {
 
-            trigger_error('The template "' . htmlspecialchars($file)
+            trigger_error('The template "' . sm_encode_html_special_chars($file)
                           . '" could not be fetched!', E_USER_ERROR);
 
         } else {