diff --git a/core/class/mobile.class.php b/core/class/mobile.class.php index 89223525..4b436db1 100755 --- a/core/class/mobile.class.php +++ b/core/class/mobile.class.php @@ -1017,6 +1017,12 @@ public function postSave() $cmd->setOrder($order); $order++; } + $cmd->setEqLogic_id($this->getId()); + $cmd->setType('action'); + $cmd->setSubType('message'); + if ($cmd->getChanged() === true) $cmd->save(); + + // Commande notification Silencieuse $cmd = $this->getCmd(null, 'notifSilent'); if (!is_object($cmd)) { $cmd = new mobileCmd();