no message
This commit is contained in:
@@ -71,7 +71,7 @@ class Verbraucher_extern extends IPSModule
|
||||
$kombinationen = [0];
|
||||
foreach ($verbraucherListe as $verbraucher) {
|
||||
|
||||
if (GetValue($verbraucher['Read_Var']) == 1) {
|
||||
if (GetValue($verbraucher['Read_Var']) == true) {
|
||||
$tempListe = [];
|
||||
if(empty($kombinationen)){
|
||||
$kombinationen[] = $verbraucher['P_Nenn'];
|
||||
@@ -116,9 +116,9 @@ class Verbraucher_extern extends IPSModule
|
||||
|
||||
foreach ($verbraucherListe as &$verbraucher) {
|
||||
if (in_array($verbraucher['P_Nenn'], $firstCombination)) {
|
||||
RequestAction($verbraucher['Write_Var'], 1);
|
||||
RequestAction($verbraucher['Write_Var'], false);
|
||||
} else {
|
||||
RequestAction($verbraucher['Write_Var'], 0);
|
||||
RequestAction($verbraucher['Write_Var'], true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user