Note a bug
[squirrelmail.git] / src / options_order.php
index 3775b6e0956947ee483d9f6f16c26f1123c8a5b7..a00860a23f476380edd679dc96ea3097132451d8 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Displays messagelist column order options
  *
- * @copyright 1999-2010 The SquirrelMail Project Team
+ * @copyright 1999-2012 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;