From 937686599480930b6ceb8709a502506df90801b5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 30 May 2011 06:30:59 +0000 Subject: [PATCH] Fix: missing parameters --- htdocs/core/class/canvas.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/canvas.class.php b/htdocs/core/class/canvas.class.php index f9fccda4e34..3607dd8dd73 100644 --- a/htdocs/core/class/canvas.class.php +++ b/htdocs/core/class/canvas.class.php @@ -106,7 +106,7 @@ class Canvas // Instantiate actions class (controller) $controlclassname = 'Actions'.ucfirst($this->card).ucfirst($this->canvas); - $this->control = new $controlclassname($this->db); + $this->control = new $controlclassname($this->db,$this->targetmodule,$this->canvas,$this->card); } // TODO Dao should be declared and used by controller or templates when required only