diff --git a/dblayeroo.php b/dblayeroo.php index 7db82f6..13a3796 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -1363,7 +1363,7 @@ class dblayeroo if (! key_exists ($field, $this->fields)) $this->DBException ("Invalid setRealType provided : ". "field '$field' doesn't exists"); - list ($func, $param) = explode ("(", $realType); + @list ($func, $param) = explode ("(", $realType); $func = trim ($func); $method = "checkRealType_".$func; if (! method_exists ($this, $method)) @@ -2941,7 +2941,7 @@ class dblayeroo elseif (key_exists ($field, $this->realTypes)) { $val = trim ($values[$field]); - list ($func, $param) = explode ("(", $this->realTypes[$field]); + @list ($func, $param) = explode ("(", $this->realTypes[$field]); $func = trim ($func); $method = "checkRealType_".$func; $res = $this->$method ($val, $this->realTypes[$field]);