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;