diff --git a/scripts/config.php b/scripts/config.php index d3f9928..d98949e 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);