mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Merge pull request #4547 from Deltik/fix/4546
Deprecate `e_parse::toJS()`
This commit is contained in:
@@ -3907,8 +3907,7 @@ var_dump($select_options);*/
|
||||
//
|
||||
foreach ($options as $option => $optval)
|
||||
{
|
||||
$optval = trim((string) $optval);
|
||||
$optval = htmlspecialchars($optval, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
$optval = htmlspecialchars(trim((string) $optval), ENT_COMPAT | ENT_HTML401, 'UTF-8', false);
|
||||
switch ($option)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user