I added a validation for WebEntry
This commit is contained in:
@@ -35,6 +35,12 @@ try {
|
|||||||
$a->next();
|
$a->next();
|
||||||
$row = $a->getRow();
|
$row = $a->getRow();
|
||||||
$swpmdynaform = isset($row) && $row["DYN_VERSION"] == 2;
|
$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) {
|
if ($swpmdynaform) {
|
||||||
$pmdynaform = $_POST["form"];
|
$pmdynaform = $_POST["form"];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user