diff --git a/htdocs/contact/canvas/actions_contactcard_common.class.php b/htdocs/contact/canvas/actions_contactcard_common.class.php index 9e8d17fa718..6f7ceced553 100644 --- a/htdocs/contact/canvas/actions_contactcard_common.class.php +++ b/htdocs/contact/canvas/actions_contactcard_common.class.php @@ -54,7 +54,7 @@ abstract class ActionsContactCardCommon function __construct($DB, $dirmodule, $targetmodule, $canvas, $card) { $this->db = $DB; - $this->dirmodule = $targetmodule; + $this->dirmodule = $dirmodule; $this->targetmodule = $targetmodule; $this->canvas = $canvas; $this->card = $card;