From f74db00fb16241eddfb7c758373c34a1d9d1b135 Mon Sep 17 00:00:00 2001 From: fusionate Date: Tue, 16 May 2023 20:51:02 +0000 Subject: [PATCH] Dashboard - Edit: Updates for PHP 8.1 --- core/dashboard/dashboard_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dashboard/dashboard_edit.php b/core/dashboard/dashboard_edit.php index bcc8481e67..8adfcdf6ff 100644 --- a/core/dashboard/dashboard_edit.php +++ b/core/dashboard/dashboard_edit.php @@ -94,7 +94,7 @@ } //process the http post data by submitted action - if ($_POST['action'] != '' && !empty($_POST['action'])) { + if (!empty($_POST['action'])) { //prepare the array(s) //send the array to the database class @@ -377,7 +377,7 @@ foreach($groups as $row) { if ($field['group_level'] <= $_SESSION['user']['group_level']) { if (!in_array($row["group_uuid"], $assigned_groups)) { - echo " \n"; + echo " \n"; } } }