Skip to content

A live bird collage card for your Home Assistant dashboard.

Update config.php

ehpersonal3845fbc435c781
diff --git a/scripts/config.php b/scripts/config.php
index d3f99284..d98949e3 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -45,7 +45,7 @@ $fh2 = fopen("./scripts/thisrun.txt", "w");
fwrite($fh, $contents);
fwrite($fh2, $contents2);
-if(strlen($apprise_input) > 0){
+if(isset($apprise_input)){
$user = shell_exec("awk -F: '/1000/{print $1}' /etc/passwd");
$home = shell_exec("awk -F: '/1000/{print $6}' /etc/passwd");
$home = trim($home);