mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 19:34:52 +00:00
Check to see if arrays are set before executing for each loops to prevent php errors
This commit is contained in:
@@ -125,7 +125,7 @@ if (isset($_POST['bulk_delete_certificates'])) {
|
||||
enforceUserPermission('module_support', 3);
|
||||
validateCSRFToken($_POST['csrf_token']);
|
||||
|
||||
if ($_POST['certificate_ids']) {
|
||||
if (isset($_POST['certificate_ids'])) {
|
||||
|
||||
// Get selected count
|
||||
$count = count($_POST['certificate_ids']);
|
||||
|
||||
Reference in New Issue
Block a user