Fix bug where More Details section was not apearing in ebook detail page when there is no Wikipedia URL

This commit is contained in:
Alex Cabal 2022-11-15 10:36:32 -06:00
parent d0faf4da6d
commit 7c2de0ed5c

View file

@ -311,7 +311,7 @@ catch(Exceptions\InvalidEbookException $ex){
<? } ?>
</section>
<? if($ebook->GitHubUrl !== null && $ebook->WikipediaUrl !== null){ ?>
<? if($ebook->GitHubUrl !== null || $ebook->WikipediaUrl !== null){ ?>
<section id="details">
<h2>More details</h2>
<ul>