Skip to content

Commit

Permalink
Merge pull request #13 from sreitner/master
Browse files Browse the repository at this point in the history
PHP Warning, wenn User oder PW leer.
  • Loading branch information
christian1180 authored Nov 27, 2024
2 parents 8b638f1 + 5533125 commit 29c0292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
if (empty($ccu) or !is_array($ccu)) $ccu = array(
'host' => $homematicIp,
'https' => !empty($ccu_https),
'user' => $ccu_user,
'pw' => $ccu_pass
'user' => ( isset($ccu_user) ? $ccu_user : false ),
'pw' => ( isset($ccu_pass) ? $ccu_pass : false ),
);
// --

Expand Down

0 comments on commit 29c0292

Please sign in to comment.