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