don't print "Languages" if there are none defined.

This commit is contained in:
Tyler J. Wagner 2013-02-20 21:35:40 +01:00
parent 14207672fa
commit e50e18ac31

View file

@ -98,11 +98,16 @@ $book->getLinkArray ();
</div> </div>
<?php <?php
} }
if ($book->getLanguages () != "")
{
?> ?>
<div class="entrySection"> <div class="entrySection">
<span><?php echo localize("config.Language.label") ?></span> <span><?php echo localize("config.Language.label") ?></span>
<?php echo $book->getLanguages () ?> <?php echo $book->getLanguages () ?>
</div> </div>
<?php
}
?>
</div> </div>
<div class="clearer" /> <div class="clearer" />
<hr /> <hr />