bugfix/HOR-2067

This commit is contained in:
Paula Quispe
2017-03-21 15:02:53 -04:00
parent 3ebf5eea42
commit 873c8d0723
5 changed files with 28 additions and 4 deletions

View File

@@ -43,6 +43,11 @@ try {
$Fields["APP_DATA"] = array_merge( $Fields["APP_DATA"], G::getSystemConstants() );
$Fields["APP_DATA"] = array_merge( $Fields["APP_DATA"], $_POST["form"] );
//If didn't is not submitted any variable and the $_POST is empty
if (!isset($_POST['form'])) {
$_POST['form'] = array();
}
//save data in PM Tables if necessary
$newValues = array ();
foreach ($_POST['form'] as $sField => $sAux) {