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:
@@ -182,8 +182,9 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
|
||||
|
||||
|
||||
if( isset($Fields['PME_HINT']) ) {
|
||||
$Fields['PME_HINT'] = str_replace("\'", "'", $Fields['PME_HINT']);
|
||||
$Fields['PME_HINT'] = str_replace("&", "&", $Fields['PME_HINT']);
|
||||
$Fields['PME_HINT'] = stripslashes($Fields['PME_HINT']);
|
||||
$Fields['PME_HINT'] = htmlspecialchars_decode($Fields['PME_HINT']);
|
||||
$Fields['PME_HINT'] = str_replace("'", "'", $Fields['PME_HINT']);
|
||||
}
|
||||
|
||||
if (file_exists( PATH_XMLFORM . 'dynaforms/fields/' . $type . '.xml')) {
|
||||
|
||||
Reference in New Issue
Block a user