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

@@ -58,6 +58,10 @@ class mfBaseModel {
}
public function load($row) {
if(!is_object($this->data)) {
$this->data = new stdClass();
}
foreach($row as $field => $value) {
if($this->fieldprefix) {
if(preg_match('/^'.$this->fieldprefix.'_(.+)$/',$field,$m)) {