mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Apply same fix from 5a843bc to the create action as well
This commit is contained in:
parent
d3e346013d
commit
e384a37457
@ -1113,7 +1113,7 @@ class RelationController extends ControllerBehavior
|
||||
$this->relationObject->add($newModel, $sessionKey);
|
||||
}
|
||||
elseif ($this->viewMode == 'single') {
|
||||
$newModel = $this->manageWidget->model;
|
||||
$newModel = $this->viewModel = $this->viewWidget->model = $this->manageWidget->model;
|
||||
$this->viewWidget->setFormValues($saveData);
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user