diff --git a/dblayeroo.php b/dblayeroo.php index b383257..7db82f6 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2890,7 +2890,7 @@ class dblayeroo $this->debugLog ("Entering checkValues (",$update,")"); $update = !! $update; $values = $this->setValues; - $errors = $this->checkRealType ($values, $update); + $errors = $this->checkRealTypes ($values, $update); if (count ($errors)) $this->DBException (reset ($errors)); $errors = $this->verify ($values, $update); @@ -2909,12 +2909,13 @@ class dblayeroo * @param boolean|null $allowEmpty Allow the "not null" to not be set * @return array empty array if no error */ - public function checkRealType ($values, $allowEmpty = false) + public function checkRealTypes ($values, $allowEmpty = false) // {{{ { - $this->debugLog ("Entering checkRealType (",$values,",",$allowEmpty,")"); + $this->debugLog ("Entering checkRealTypes (",$values,",",$allowEmpty,")"); if (! is_array ($values)) - $this->DBException ("Invalid checkRealType provided : not an array", 500); + $this->DBException ("Invalid checkRealTypes provided : not an array", + 500); $errors = array (); foreach ($this->fields as $field => $params) { @@ -2948,7 +2949,7 @@ class dblayeroo $errors[$field] = $res; } } - $this->debugLog ("End checkRealType (", $values, ",", $allowEmpty, ") : ", + $this->debugLog ("End checkRealTypes (", $values, ",", $allowEmpty, ") : ", $errors); return $errors; }