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:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user