Merge pull request #899 from Jennydmz/BUG-6747

BUG-6747 The Edit trigger associative array does not work ok.
This commit is contained in:
julceslauhub
2012-11-07 10:09:19 -08:00

View File

@@ -153,6 +153,8 @@ try {
// str_replace ( '"', '', $paramDefaultValue ) ) );
$paramValue = $_GET[trim( str_replace( "$", "", $paramName ) )];
$template->assign ( 'ADD_TRI_VALUE', str_replace("\'", "'", $paramValue) );
//turn single quotes to double quotes into an array asignation
$template->assign ( 'ADD_TRI_VALUE', str_replace("'", """, $paramValue) );
if ($paramDefaultValue != "") {
$fieldDescription = $paramDescription . "<br>";
$fieldDescription .= $paramDefaultValue . " | " . $paramType;
@@ -179,4 +181,3 @@ try {
die ( $oException->getMessage () );
}
unset ( $_SESSION ['PROCESS'] );