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:
Marco Antonio Nina
2012-06-28 18:30:08 -04:00
parent f98481c344
commit df7e7b6b92
2 changed files with 5 additions and 6 deletions

View File

@@ -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']);