BUG 8376 Don't validation for POST variable SOLVED
- I add validation for POST variable
This commit is contained in:
@@ -436,7 +436,9 @@ class AdditionalTables extends BaseAdditionalTables
|
|||||||
$newId = $oClass->getId();
|
$newId = $oClass->getId();
|
||||||
$aFields = $oCaseKeyAuto->loadCase($_SESSION['APPLICATION']);
|
$aFields = $oCaseKeyAuto->loadCase($_SESSION['APPLICATION']);
|
||||||
$aFields['APP_DATA'][$keyUIDAutoIncrement] = $newId;
|
$aFields['APP_DATA'][$keyUIDAutoIncrement] = $newId;
|
||||||
$_POST['form'][$keyUIDAutoIncrement] = $newId;
|
if (isset($_POST['form'])) {
|
||||||
|
$_POST['form'][$keyUIDAutoIncrement] = $newId;
|
||||||
|
}
|
||||||
$oCaseKeyAuto->updateCase($_SESSION['APPLICATION'], $aFields);
|
$oCaseKeyAuto->updateCase($_SESSION['APPLICATION'], $aFields);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user