MVC - add support for non persistent (in memory) models. (2)

type issue in comparison
This commit is contained in:
Ad Schellevis 2022-06-28 19:51:04 +02:00
parent 15881b1829
commit ee81d4adfd

View File

@ -582,7 +582,7 @@ abstract class BaseModel
throw new \OPNsense\Phalcon\Filter\Validation\Exception($exception_msg);
}
}
if ($this->internal_mountpoint !== ':memory:') {
if ($this->internal_mountpoint != ':memory:') {
$this->internalSerializeToConfig();
}
}