X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Foptions_order.php;h=62a6ab690d9a4deceee71c8cd50b041fb69d8dcb;hp=b34c6351c22c9b047c69b924ef4f0127db52d8c6;hb=f197ec8835b64975ff47dc6cd86dae75605baebf;hpb=c0d968010e710870fdfee2f22d7cc9fad370c7a9 diff --git a/src/options_order.php b/src/options_order.php index b34c6351..62a6ab69 100644 --- a/src/options_order.php +++ b/src/options_order.php @@ -4,7 +4,7 @@ * * Displays messagelist column order options * - * @copyright 1999-2012 The SquirrelMail Project Team + * @copyright 1999-2016 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;