From 3ba639f01b552cbf51fa52cfadec25b833d23abe Mon Sep 17 00:00:00 2001 From: Spine34 Date: Wed, 30 Jul 2025 19:22:53 +0200 Subject: [PATCH] update mobile.class.php --- core/class/mobile.class.php | 6 ++++++ 1 file changed, 6 insertions(+) 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();