Fixed a bug where setting displayTitle to false inserted a zero onto the page.

This commit is contained in:
JT Smith 2002-05-27 06:02:50 +00:00
parent 00a81dd3ab
commit d3850e3f0b

View file

@ -96,7 +96,9 @@ sub description {
sub displayTitle {
if ($_[0]->get("displayTitle")) {
return "<h1>".$_[0]->get("title")."</h1>";
}
} else {
return "";
}
}
#-------------------------------------------------------------------