From ced920e5d29a3d01a5339abbfc5b38c9994bcf7f Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Wed, 2 Nov 2016 07:21:04 +1100 Subject: [PATCH] Exception handling Addresses issue specified in https://github.com/daftspunk/oc-test-plugin/issues/21 --- modules/backend/behaviors/RelationController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/backend/behaviors/RelationController.php b/modules/backend/behaviors/RelationController.php index 191fdf4c9..657bdcb14 100644 --- a/modules/backend/behaviors/RelationController.php +++ b/modules/backend/behaviors/RelationController.php @@ -595,6 +595,8 @@ class RelationController extends ControllerBehavior protected function makeViewWidget() { + $widget = null; + /* * Multiple (has many, belongs to many) */