BUG 9336 Hidden field: Mode Edit/View SOLVED
- This field is not need in the form. - this field was placed with a defaultvalue of edit.
This commit is contained in:
@@ -143,8 +143,10 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
||||
|
||||
$attributes = $_POST['form'];
|
||||
|
||||
$attributes['HINT'] = addslashes($attributes['HINT']);
|
||||
$attributes['HINT'] = htmlspecialchars($attributes['HINT'], ENT_QUOTES, "UTF-8");
|
||||
if (isset($attributes['HINT'])) {
|
||||
$attributes['HINT'] = addslashes($attributes['HINT']);
|
||||
$attributes['HINT'] = htmlspecialchars($attributes['HINT'], ENT_QUOTES, "UTF-8");
|
||||
}
|
||||
|
||||
if (isset($attributes['CODE'])) $attributes['XMLNODE_VALUE'] = ($attributes['CODE']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user