Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
[squirrelmail.git] / templates / default / options_order.tpl
index edbc0898ea3f378ba65e4d382a4551cdb52338ca..a35a38f764b3bed0ff9a6639a8cf6d395b74244d 100644 (file)
@@ -71,7 +71,7 @@ extract($t);
    <select name="num">
     <?php
         foreach ($not_used as $field_id=>$name) {
-            echo '<option value="'.$field_id.'">'.htmlspecialchars($name).'</option>'."\n";
+            echo '<option value="'.$field_id.'">'.sm_encode_html_special_chars($name).'</option>'."\n";
         }
     ?>
    </select>