fsf changes, meant to be rebased on upstream
[squirrelmail.git] / templates / util_read.php
index 058ce6bb5743a39a10546bffd34aa24956cd5949..0da08779b0ed0b56c88ed3e3c24ad16bb520a41f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Utility file containing functions related to reading messages
  * 
- * @copyright 1999-2010 The SquirrelMail Project Team
+ * @copyright 1999-2022 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -15,7 +15,7 @@
  * Return a string representing the priority of a message
  */
 function priorityStr($p) {
-    return htmlspecialchars(getPriorityStr($p));
+    return sm_encode_html_special_chars(getPriorityStr($p));
 }
 
 ?>
\ No newline at end of file