Fixed a bug where setting displayTitle to false inserted a zero onto the page.
This commit is contained in:
parent
00a81dd3ab
commit
d3850e3f0b
1 changed files with 3 additions and 1 deletions
|
|
@ -96,7 +96,9 @@ sub description {
|
|||
sub displayTitle {
|
||||
if ($_[0]->get("displayTitle")) {
|
||||
return "<h1>".$_[0]->get("title")."</h1>";
|
||||
}
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue