From b8b650e3dc207d82f9bbd1cadbe50f49c2705354 Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Fri, 15 Jan 2021 23:17:33 +0100 Subject: [PATCH] Add to the list all sources with images even without encoded scores --- scores.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scores.php b/scores.php index b12bbd6..2c680b5 100644 --- a/scores.php +++ b/scores.php @@ -45,7 +45,7 @@ while($s = $req1->fetch_assoc()) { $used_sources[] = $s['source']; } foreach($sources as $id => $s) { - if(in_array($id, $used_sources)) { + if(in_array($id, $used_sources) || $s['pages']) { echo "
  • ".$s['year']." - ".$s['editor']." - ".$s['title'].""; if($s['description'] > '') echo "
    \n".$s['description'].""; echo "
  • \n";