mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
DbObject: just a newline
This commit is contained in:
parent
497c7771e0
commit
2939f82758
1 changed files with 1 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ abstract class DbObject
|
|||
if ($value === '') {
|
||||
$value = null;
|
||||
}
|
||||
|
||||
$func = 'validate' . ucfirst($key);
|
||||
if (method_exists($this, $func) && $this->$func($value) !== true) {
|
||||
throw new IE('Got invalid value "%s" for "%s"', $value, $key);
|
||||
|
|
|
|||
Loading…
Reference in a new issue