diff --git a/src/Model/Criteria.php b/src/Model/Criteria.php index f59b0dc..20a7cf6 100644 --- a/src/Model/Criteria.php +++ b/src/Model/Criteria.php @@ -68,7 +68,7 @@ public function where($conditions, $bindParams = null, $bindTypes = null) { if (is_array($bindParams)) { $params = $this->getParams(); - if (is_array($params['bind'])) { + if (isset($params['bind'])) { foreach ($bindParams as $bind => $value) { if (array_key_exists($bind, $params['bind'])) { throw new DuplicatedBindException($bind);