diff --git a/changelog.md b/changelog.md index 4d1b8e2..cd1fb08 100755 --- a/changelog.md +++ b/changelog.md @@ -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) diff --git a/core/class/reolink.class.php b/core/class/reolink.class.php index 0efd49d..6b91b20 100755 --- a/core/class/reolink.class.php +++ b/core/class/reolink.class.php @@ -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 { @@ -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(); }