Skip to content

Commit

Permalink
count korrigiert bei componets
Browse files Browse the repository at this point in the history
#3 Fehler korrigiert bei components und allen php Dateien, inkl. Import, diagram...
  • Loading branch information
christian1180 committed May 5, 2024
1 parent 1fcbded commit f273546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/HmIP-FALMOT-C12.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function HmIP_FALMOT_C12($component) {
if (!isset($component['channels'])) $component['channels'] = "1,2,3,4,5,6,7,8,9,10,11,12";
$totalchannels = 0;
$temp_channel = explode(",", $component['channels']);
for ($i = 0; $i < count($temp_channel);$i++) {
for ($i = 0; $i < count((array)$temp_channel);$i++) {
$showchannel[$temp_channel[$i]] = 1;
$totalchannels += 1;
}
Expand Down
2 changes: 1 addition & 1 deletion components/HmIPW-FAL24-C10.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function HmIPW_FAL24_C10($component) {
if (!isset($component['channels'])) $component['channels'] = "1,2,3,4,5,6,7,8,9,10";
$totalchannels = 0;
$temp_channel = explode(",", $component['channels']);
for ($i = 0; $i < count($temp_channel);$i++) {
for ($i = 0; $i < count((array)$temp_channel);$i++) {
$showchannel[$temp_channel[$i]] = 1;
$totalchannels += 1;
}
Expand Down

0 comments on commit f273546

Please sign in to comment.