Add to the list all sources with images even without encoded scores

This commit is contained in:
Olivier Berten 2021-01-15 23:17:33 +01:00
parent 23117c29df
commit b8b650e3dc

View File

@ -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 "<li><a href=\"source.php?id=".$id."\">".$s['year']." - ".$s['editor']." - ".$s['title']."</a>";
if($s['description'] > '') echo "<br />\n<i>".$s['description']."</i>";
echo "</li>\n";