From e6362d9c01076416a7b21a43871a740337b95815 Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Sun, 21 Feb 2021 19:00:17 +0100 Subject: [PATCH] Fix for not displaying first page --- chant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chant.php b/chant.php index a899550..82aea48 100644 --- a/chant.php +++ b/chant.php @@ -51,7 +51,7 @@ while ($s = $req1->fetch_assoc()) { } else { $p = $s['page']; } - if($p) { + if($p !== false) { $c_p[] = array($s['source'], $s['page'], $p, intval($s['extent']), intval($s['sequence'])); } else { $c_p[] = $c_s;