Skip to content

Commit

Permalink
Merge pull request #2891 from cakephp/3.0-form-input
Browse files Browse the repository at this point in the history
3.0 form input
  • Loading branch information
markstory committed Feb 25, 2014
2 parents b244282 + 77b2184 commit 91b78c0
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 782 deletions.
4 changes: 1 addition & 3 deletions src/View/Form/EntityContext.php
Expand Up @@ -150,9 +150,7 @@ protected function _prepare() {
* @return boolean
*/
public function primaryKey() {
$table = $this->_tables[$this->_rootName];
$schema = $table->schema();
return $schema->primaryKey();
return (array)$this->_tables[$this->_rootName]->primaryKey();
}

/**
Expand Down

0 comments on commit 91b78c0

Please sign in to comment.