mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
6e827b4c8c
@ -414,7 +414,7 @@ class RelationController extends ControllerBehavior
|
|||||||
*/
|
*/
|
||||||
protected function findExistingRelationIds($checkIds = null)
|
protected function findExistingRelationIds($checkIds = null)
|
||||||
{
|
{
|
||||||
$foreignKeyName = $this->relationModel->getKeyName();
|
$foreignKeyName = $this->relationModel->table . '.' . $this->relationModel->getKeyName();
|
||||||
|
|
||||||
$results = $this->relationObject
|
$results = $this->relationObject
|
||||||
->getBaseQuery()
|
->getBaseQuery()
|
||||||
@ -818,4 +818,4 @@ class RelationController extends ControllerBehavior
|
|||||||
return $this->sessionKey = FormHelper::getSessionKey();
|
return $this->sessionKey = FormHelper::getSessionKey();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -92,4 +92,4 @@ class DatePicker extends FormWidgetBase
|
|||||||
{
|
{
|
||||||
return strlen($value) ? $value : null;
|
return strlen($value) ? $value : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user