BUG 9337 Hint with .commas. and/or "apostrophes" is not working SOLVED
- We verified that when is intruduced a character strange the string is cut. - add sentence of escape to validate the string.
This commit is contained in:
@@ -141,8 +141,11 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
||||
|
||||
if ($_POST['form']['XMLNODE_NAME']==='') return;
|
||||
|
||||
|
||||
$attributes = $_POST['form'];
|
||||
|
||||
$attributes['HINT'] = addslashes($attributes['HINT']);
|
||||
$attributes['HINT'] = htmlspecialchars($attributes['HINT'], ENT_QUOTES, "UTF-8");
|
||||
|
||||
if (isset($attributes['CODE'])) $attributes['XMLNODE_VALUE'] = ($attributes['CODE']);
|
||||
|
||||
$labels = array();
|
||||
|
||||
Reference in New Issue
Block a user