From 77dd6c02dae6b8ab96ea8c201787bde3fa6275d5 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 12 May 2009 16:56:51 +0200 Subject: [PATCH] Short hack to allow acting on objects again. --- koward/lib/Koward/Controller/ObjectController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koward/lib/Koward/Controller/ObjectController.php b/koward/lib/Koward/Controller/ObjectController.php index 2bef3ba0d..61831bf2c 100644 --- a/koward/lib/Koward/Controller/ObjectController.php +++ b/koward/lib/Koward/Controller/ObjectController.php @@ -184,6 +184,8 @@ class ObjectController extends Koward_Controller_Application exit; } else if ($this->actions->validate()) { $action = $this->actions->execute(); + //FIXME: Hack + $result = $this->object->$action(); $this->action_url = $this->urlFor(array('controller' => 'object', 'action' => 'view', -- 2.11.0