Skip to content

Commit

Permalink
All TableTests passing except those requiring new features to be
Browse files Browse the repository at this point in the history
implemented
  • Loading branch information
lorenzo committed Jan 11, 2014
1 parent b2e2dcb commit 6d89a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cake/ORM/Table.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 6d89a90

Please sign in to comment.