Happy New Year
[squirrelmail.git] / src / options_order.php
index abab7ced107cb7a2a10696d51c6dd760f56d5686..aae23f6253fb0ac183301f48fbf8aa58ba22db61 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Displays messagelist column order options
  *
- * @copyright 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2020 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;