For Kerensky
This commit is contained in:
parent
e29d88e07a
commit
a19cd6f76b
|
|
@ -376,7 +376,7 @@ class RelationController extends ControllerBehavior
|
|||
*/
|
||||
public function relationMakePartial($partial, $params = [])
|
||||
{
|
||||
$contents = $this->controller->makePartial('relation_'.$partial, $params, false);
|
||||
$contents = $this->controller->makePartial('relation_'.$partial, $params + $this->vars, false);
|
||||
if (!$contents)
|
||||
$contents = $this->makePartial($partial, $params);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue