yes
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
Chris 2023-10-30 23:36:56 +01:00
parent b4ce0c89ed
commit 462165e81e

View File

@ -166,6 +166,8 @@ class Model {
if(in_array('autoupdate',$options))
$this->data[$key] = NULL;
var_dump("$key is set to ".$this->data[$key]);
if (isset($data[$key]))
$value = $data[$key];
else
@ -190,7 +192,7 @@ class Model {
$this->data[$key] = $value;
}
if($options['default']!==null && $newgen === true && !isset($value))
if($options['default']!==null && $newgen === true && $value===null)
{
$value = $options['default'];
$this->data[$key] = $value;