Happy New Year
[squirrelmail.git] / src / options_order.php
index b34c6351c22c9b047c69b924ef4f0127db52d8c6..bf4b8993280f736166793d18730efb6e74780767 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Displays messagelist column order options
  *
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -31,7 +31,7 @@ if (sqgetGlobalVar('num',       $num,       SQ_GET)) {
 if (!sqgetGlobalVar('method', $method)) {
     $method = '';
 } else {
-    $method = htmlspecialchars($method);
+    $method = sm_encode_html_special_chars($method);
 }
 if (!sqgetGlobalVar('positions', $pos, SQ_GET)) {
     $pos = 0;