From: LeonardoBizzoni Date: Sun, 3 Jul 2022 08:56:57 +0000 (+0200) Subject: fixed typo X-Git-Url: http://git.leonardobizzoni.com/?a=commitdiff_plain;h=dc50b4ccf435cc07a399d95dbfcd8a53e86176c1;p=highschool-graduation-project fixed typo --- diff --git a/www/vtuberIsLive.php b/www/vtuberIsLive.php index e9c123e..d01ac2a 100644 --- a/www/vtuberIsLive.php +++ b/www/vtuberIsLive.php @@ -76,7 +76,7 @@ while (true) { $tag = $result->item($i)->getAttribute("href"); if (str_contains($tag, "https://www.youtube.com/watch?v=")) { echo "{$vtuber["username"]} - $tag\n"; - $stmt = $app->db->pdo->prepare("update vtubers set live='$tag', sent=0 where live=NULL and id=" . $vtuber["id"]); + $stmt = $app->db->pdo->prepare("update vtubers set live='$tag', sent=0 where live IS NULL and id=" . $vtuber["id"]); $stmt->execute(); $isLive = true; }