From 7d846e2c6a50012de0cccbb7ff72dd4a2c2820a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Wed, 6 Aug 2025 15:47:45 +0200 Subject: [PATCH] no message --- HauptManager/module.php | 2 +- Manager/module.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HauptManager/module.php b/HauptManager/module.php index 590b423..bd7ef55 100644 --- a/HauptManager/module.php +++ b/HauptManager/module.php @@ -466,7 +466,7 @@ class HauptManager extends IPSModule //$schreibleistung = max($leistung, $minimalleistung); if (abs($leistung["Set_Leistung"]) > abs($minimalleistung)) { - $leistung = $leistung["Set_Leistung"]*-1; + $leistung = $leistung["Set_Leistung"]; } else { $leistung = $minimalleistung; } diff --git a/Manager/module.php b/Manager/module.php index e09aacd..93fa4c2 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -462,7 +462,7 @@ class Manager extends IPSModule //$schreibleistung = max($leistung, $minimalleistung); if (abs($leistung) > abs($minimalleistung)) { - $schreibleistung = $leistung; + $schreibleistung = $leistung*-1; } else { $schreibleistung = $minimalleistung; }