diff --git a/modules/backend/formwidgets/RelationManager.php b/modules/backend/formwidgets/RelationManager.php index 18c6e7bdc0..85c3ea2770 100644 --- a/modules/backend/formwidgets/RelationManager.php +++ b/modules/backend/formwidgets/RelationManager.php @@ -47,7 +47,7 @@ public function render() 'recordUrl' => $this->recordUrl, ]; if (isset($this->recordOnClick)) { - $options['recordOnClick'] = $this->recordOnClicks; + $options['recordOnClick'] = $this->recordOnClick; } return $this->controller->relationRender($this->formField->fieldName, $options);