Skip to content

Commit

Permalink
bug fix refresh
Browse files Browse the repository at this point in the history
bug fix refresh
  • Loading branch information
Jezza34000 committed Oct 28, 2022
1 parent f1b66a6 commit 974dd44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change log

28/10/2022
- Bug fix RefreshInfo

18/10/2022
- Bug fix API (is_loggedin)

27/07/2022
- Bug fix for Atlas Jeedom (py wheel)

Expand Down
4 changes: 2 additions & 2 deletions core/class/reolink.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static function getReolinkConnection($id) {

public static function TryConnect($id) {
$reolinkConn = reolink::getReolinkConnection($id);
if ($reolinkConn->$is_loggedin == true) {
if ($reolinkConn->is_loggedin == true) {
log::add('reolink', 'info', 'Connection à la caméra réussie');
return true;
} else {
Expand Down Expand Up @@ -217,7 +217,7 @@ public static function refreshNFO($id) {
$camcnx = reolink::getReolinkConnection($id);
$cmdget = NULL;

if ($camcnx->$is_loggedin == false) {
if ($camcnx->is_loggedin == false) {
exit();
}

Expand Down

0 comments on commit 974dd44

Please sign in to comment.