diff --git a/Cake/ORM/Table.php b/Cake/ORM/Table.php index 3e30d466636..0c329e13e83 100644 --- a/Cake/ORM/Table.php +++ b/Cake/ORM/Table.php @@ -829,7 +829,7 @@ public function findThreaded(Query $query, array $options = []) { */ public function get($primaryKey, $options = []) { $key = (array)$this->primaryKey(); - $conditions = array_combine($key, $primaryKey); + $conditions = array_combine($key, (array)$primaryKey); $entity = $this->find('all', $options)->where($conditions)->first(); if (!$entity) {