2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

fix PHP Notices: Undefined variable:, Undefined index:, Undefined offset:

This commit is contained in:
Alex
2015-08-14 03:10:26 +03:00
parent 5f05e34620
commit 9055f794e9
4 changed files with 10 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ if (isset($_POST['ed']))
if (isset($_POST['type'])){
//check that we have correct var types and quantity
$prph = 0; $pcd = 0; $st = 0; $fn = 0; $eml =0;
$prph = 0; $pcd = 0; $st = 0; $fn = 0; $eml =0; $ln =0;
foreach($_POST['type'] as $key => $val) {
if ($val == 3) $prph++;
else if ($val == 5) $pcd++;