Skip to content
Permalink
Browse files

All TableTests passing except those requiring new features to be

implemented
  • Loading branch information...
lorenzo committed Jan 11, 2014
1 parent b2e2dcb commit 6d89a90b874e95d40fab20b98b6b61877b132a9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 6d89a90

Please sign in to comment.
You can’t perform that action at this time.