Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

replace htmlspecialcharsbx on String::htmlEncode #5

Merged
merged 1 commit into from
Feb 5, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
replace htmlspecialcharsbx on String::
  • Loading branch information
shoman4eg committed Feb 5, 2015
commit ff76b3d649d964343eb40f7b0776c2e20295ecc8
3 changes: 2 additions & 1 deletion options.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Bitrix\Main\Application;
use Bitrix\Main\Config\Option;
use Bitrix\Main\Localization\Loc;
use Bitrix\Main\Text\String;

if (!$USER->isAdmin()) {
$APPLICATION->authForm('Nope');
Expand Down Expand Up @@ -63,7 +64,7 @@
size="50"
maxlength="5"
name="max_image_size"
value="<?=htmlspecialcharsbx(Option::get(ADMIN_MODULE_NAME, "max_image_size", 500));?>"
value="<?=String::htmlEncode(Option::get(ADMIN_MODULE_NAME, "max_image_size", 500));?>"
/>
</td>
</tr>
Expand Down