Преглед на файлове

fixed bug in edit form - html special chars - quote

Piotr Labudda преди 8 години
родител
ревизия
ea846806cb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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'];
 		}