From 5776a90a6a6b6eccbb63f811f2227bd59defb313 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 20 Apr 2016 14:04:45 +0200 Subject: [PATCH] SyncruleController: do not directly call render() --- application/controllers/SyncruleController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/SyncruleController.php b/application/controllers/SyncruleController.php index 40a33e47..9e47c314 100644 --- a/application/controllers/SyncruleController.php +++ b/application/controllers/SyncruleController.php @@ -49,7 +49,7 @@ class SyncruleController extends ActionController } $form->handleRequest(); - $this->render('object/form', null, true); + $this->setViewScript('object/form'); } public function propertyAction() @@ -70,7 +70,7 @@ class SyncruleController extends ActionController $this->view->table = $this->loadTable('syncproperty') ->enforceFilter(Filter::where('rule_id', $id)) ->setConnection($this->db()); - $this->render('list/table', null, true); + $this->setViewScript('list/table'); } public function editpropertyAction() @@ -106,7 +106,7 @@ class SyncruleController extends ActionController $this->view->table = $this->loadTable('syncproperty') ->enforceFilter(Filter::where('rule_id', $rule_id)) ->setConnection($this->db()); - $this->render('list/table', null, true); + $this->setViewScript('list/table'); } protected function prepareRuleTabs($ruleId = null)