From 2939f82758ea463f5d7d6907dfd55c0b77faa388 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 21 Mar 2016 19:10:43 +0100 Subject: [PATCH] DbObject: just a newline --- library/Director/Data/Db/DbObject.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Director/Data/Db/DbObject.php b/library/Director/Data/Db/DbObject.php index eb081665..13fd1926 100644 --- a/library/Director/Data/Db/DbObject.php +++ b/library/Director/Data/Db/DbObject.php @@ -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);