From 24583ef2b3e7185f3a3e12cd1566bdada6d2f743 Mon Sep 17 00:00:00 2001 From: horus Date: Thu, 1 Oct 2020 01:15:59 +0200 Subject: add form to change season --- app/Libraries/Background.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/Libraries') diff --git a/app/Libraries/Background.php b/app/Libraries/Background.php index afd92b3..e89e00c 100644 --- a/app/Libraries/Background.php +++ b/app/Libraries/Background.php @@ -171,7 +171,9 @@ class Background { sleep(5); } - echo "Got stats for " . $counter . " anime.\n"; + if ( 0 < $counter ) { + echo "Got stats for " . $counter . " anime.\n"; + } } public function checkIfIsAiring() { -- cgit v1.2.3