more
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:34:10 +01:00
parent 6aed7dd976
commit 0d0b69615a

View File

@ -197,6 +197,7 @@ class Model {
} }
if ($required && strlen($value) == 0) { if ($required && strlen($value) == 0) {
var_dump($value);
throw new Exception($this->dbTable . "." . $key . " is required but is set to '$value'"); throw new Exception($this->dbTable . "." . $key . " is required but is set to '$value'");
} }
if ($value == null) if ($value == null)