Fix PHP notice - this function is called statically, so needs to be declared as such...
[squirrelmail.git] / src / options_order.php
index 3775b6e0956947ee483d9f6f16c26f1123c8a5b7..448d28bfd6bc03555d3f24a4c4e71948925f31cc 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Displays messagelist column order options
  *
- * @copyright 1999-2010 The SquirrelMail Project Team
+ * @copyright 1999-2015 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;