From 9ec85741faddb58fe49299f64f2996c424c30668 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 17 Feb 2020 08:43:59 -0700 Subject: [PATCH] Extensions - Add: Validate array to mitigate warning. --- app/extensions/extension_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 1ce3eeea06..d1ee57a749 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -622,7 +622,7 @@ $row_style["1"] = "row_style1"; //show the action and redirect the user - if (count($generated_users) == 0) { + if (!is_array($generated_users) || count($generated_users) == 0) { //action add header("Location: extension_edit.php?id=".$extension_uuid); }