|
@@ 1093-1095 (lines=3) @@
|
| 1090 |
|
} |
| 1091 |
|
|
| 1092 |
|
$cost = (isset($_POST['formCost'])) ? $_POST['formCost'] : null; |
| 1093 |
|
if ($cost == '' || !is_numeric($cost) || $cost != (int) $cost || $cost < 0) { |
| 1094 |
|
$cost = null; |
| 1095 |
|
} |
| 1096 |
|
|
| 1097 |
|
$rows = (isset($_POST['formRows'])) ? $_POST['formRows'] : null; |
| 1098 |
|
if ($rows == '' || !is_numeric($rows) || $rows != (int) $rows) { |
|
@@ 1098-1100 (lines=3) @@
|
| 1095 |
|
} |
| 1096 |
|
|
| 1097 |
|
$rows = (isset($_POST['formRows'])) ? $_POST['formRows'] : null; |
| 1098 |
|
if ($rows == '' || !is_numeric($rows) || $rows != (int) $rows) { |
| 1099 |
|
$rows = null; |
| 1100 |
|
} |
| 1101 |
|
|
| 1102 |
|
// Check that they've given a name and a definition |
| 1103 |
|
if ($_POST['formFunction'] == '') { |