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