Minor bug - this should be getKeyName

This commit is contained in:
Sam Georges 2014-09-06 11:45:19 +10:00
parent 29b132a4a0
commit 31447df5d4
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ class RelationController extends ControllerBehavior
*/ */
protected function findExistingRelationIds($checkIds = null) protected function findExistingRelationIds($checkIds = null)
{ {
$foreignKeyName = $this->relationModel->getKey(); $foreignKeyName = $this->relationModel->getKeyName();
$results = $this->relationObject $results = $this->relationObject
->getBaseQuery() ->getBaseQuery()