PHP 8.1 fixes; fixed adding users

This commit is contained in:
Frank Schubert
2022-08-09 16:08:04 +02:00
parent e055181e9f
commit 31241f79cf
60 changed files with 85 additions and 57 deletions

View File

@@ -112,6 +112,8 @@ class PatchingController extends mfBaseController {
$new_filter = [];
//var_dump($filter);
if(!is_array($filter)) $filter = [];
if(array_key_exists("hide_delayed_finish", $filter)) {
if($filter["hide_delayed_finish"] == "1") {
$new_filter["hide_delayed_finish"] = true;

View File

@@ -291,7 +291,7 @@ class PatchingModel {
return $items;
}
private function getTerminationSqlFilter($filter = []) {
private static function getTerminationSqlFilter($filter = []) {
$where = "1=1 ";
if(!is_array($filter) || !count($filter)) {
return $where;
@@ -358,7 +358,7 @@ class PatchingModel {
return $where;
}
private function getPatchingSqlFilter($filter = []) {
private static function getPatchingSqlFilter($filter = []) {
$where = "1=1 ";
if(!is_array($filter) || !count($filter)) {
return $where;