Minor bug - this should be getKeyName
This commit is contained in:
parent
29b132a4a0
commit
31447df5d4
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue