mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Check to see if arrays are set before executing for each loops to prevent php errors
This commit is contained in:
@@ -199,7 +199,7 @@ if (isset($_POST['add_project_ticket'])) {
|
||||
$project_name = sanitizeInput($row['project_name']);
|
||||
|
||||
// Add Tickets
|
||||
if ($_POST['tickets']) {
|
||||
if (isset($_POST['tickets'])) {
|
||||
|
||||
// Get Selected Count
|
||||
$count = count($_POST['tickets']);
|
||||
|
||||
Reference in New Issue
Block a user