I added a validation for WebEntry

This commit is contained in:
Paula Quispe
2017-03-22 10:28:40 -04:00
parent 873c8d0723
commit ef8503b3f4

View File

@@ -35,6 +35,12 @@ try {
$a->next();
$row = $a->getRow();
$swpmdynaform = isset($row) && $row["DYN_VERSION"] == 2;
//If didn't is not submitted any variable and the $_POST is empty
if (!isset($_POST['form'])) {
$_POST['form'] = array();
}
if ($swpmdynaform) {
$pmdynaform = $_POST["form"];
}