Various settings in the Suggest

This commit is contained in:
Hector Cortez
2011-03-10 16:24:21 +00:00
parent c8529214e6
commit 9fbcc602c8
5 changed files with 46 additions and 10 deletions

View File

@@ -59,7 +59,7 @@ if (($RBAC_Response=$RBAC->userCanAccess("PM_FACTORY"))!=1) return $RBAC_Respons
$_POST['form']['PME_SAVELABEL'] = 0;
}
if (isset($_POST['form']['PME_SAVELABEL'])){
if (isset($_POST['form']['PME_SAVELABEL']) && isset($_POST['form']['PME_CODE'])){
$pmeCode = $_POST['form']['PME_CODE'];
$pmeCode = str_replace("'", "''", $pmeCode);
$pmeCode = str_replace('"', '""', $pmeCode);