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"; } } }