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