X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Foptions_order.php;h=448d28bfd6bc03555d3f24a4c4e71948925f31cc;hb=1ad27d869eee2c3cb75bf399ac4f2b7c7825a8c2;hp=3775b6e0956947ee483d9f6f16c26f1123c8a5b7;hpb=1977ab5587905d225c6288141b82f7a6e3d29d02;p=squirrelmail.git diff --git a/src/options_order.php b/src/options_order.php index 3775b6e0..448d28bf 100644 --- a/src/options_order.php +++ b/src/options_order.php @@ -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;