Check to see if arrays are set before executing for each loops to prevent php errors

This commit is contained in:
johnnyq
2024-11-14 19:13:56 -05:00
parent e9f023f0c7
commit ed92592aa6
14 changed files with 74 additions and 64 deletions

View File

@@ -92,7 +92,7 @@ if (isset($_POST['bulk_delete_networks'])) {
enforceUserPermission('module_support', 3);
validateCSRFToken($_POST['csrf_token']);
if ($_POST['network_ids']) {
if (isset($_POST['network_ids'])) {
// Get Selected Count
$count = count($_POST['network_ids']);