From cbf93da5b5970d3b8b86077e7bedf32a748ea6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Mon, 19 Feb 2024 20:39:21 +0100 Subject: [PATCH] Update z2m.class.php --- core/class/z2m.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/z2m.class.php b/core/class/z2m.class.php index f12353a..c5b8ed8 100644 --- a/core/class/z2m.class.php +++ b/core/class/z2m.class.php @@ -360,7 +360,7 @@ public static function convert_from_addr($_addr) { public static function postConfig_mqtt_topic($_value = null) { if (!class_exists('mqtt2')) { - throw new Exception(__("Plugin Mqtt Manager (mqtt2) non installé, veuillez l'installer avant de pouvoir continuer", __FILE__)); + return; } if(method_exists('mqtt2','removePluginTopicByPlugin')){ mqtt2::removePluginTopicByPlugin(__CLASS__);