after
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:45:46 +01:00
parent fa3b3e20fc
commit eb50f9f41c

View File

@ -170,7 +170,7 @@ class Model {
$this->data[$key] = NULL; $this->data[$key] = NULL;
if($key=='active') if($key=='active')
var_dump("$key is set to '".$data[$key]."'"); var_dump("before: $key is set to '".$data[$key]."'");
if (isset($data[$key])) if (isset($data[$key]))
$value = $data[$key]; $value = $data[$key];
@ -247,6 +247,8 @@ class Model {
throw new Exception("$type validation failed"); throw new Exception("$type validation failed");
} }
} }
if($key=='active')
var_dump("after: $key is set to '".$data[$key]."'");
return true; return true;
} }