From f95f4ac6e3175372adacccee9ad983145cdec5b5 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 6 Jan 2020 11:50:28 -0700 Subject: [PATCH] Operator Panel: Fix php array error. --- app/basic_operator_panel/resources/content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/basic_operator_panel/resources/content.php b/app/basic_operator_panel/resources/content.php index f327d60ae4..2dcd6183a9 100644 --- a/app/basic_operator_panel/resources/content.php +++ b/app/basic_operator_panel/resources/content.php @@ -128,7 +128,7 @@ if (permission_exists('operator_panel_eavesdrop')) { echo " "; } -if (sizeof($groups) > 0) { +if (is_array($groups) && @sizeof($groups) > 0) { echo " "; echo " "; if (sizeof($groups) > 5) {