Browse Source

fixed bug in edit form - html special chars - quote

Piotr Labudda 8 năm trước cách đây
mục cha
commit
ea846806cb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      SE/se-lib/UI.php

+ 1 - 1
SE/se-lib/UI.php

@@ -480,7 +480,7 @@ class UI {
 		$html->attrs['id'] = $fName;
 		$html->attrs['name'] = $fName;
 		$html->attrs['type'] = 'text';
-		$html->attrs['value'] = htmlspecialchars($fValue);
+		$html->attrs['value'] = $fValue;// BUG htmlspecialchars($fValue); - convert " to "
 		if (isset($params['tabindex'])) {
 			$html->attrs['tabindex'] = $params['tabindex'];
 		}