PHP 8.1 fixes; fixed adding users
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user