Try to centralize all the menuTitle defaults in 1 place.
This commit is contained in:
parent
6733595dfc
commit
d7a31ea901
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ around menuTitle => sub {
|
|||
if (@_ > 0) {
|
||||
my $title = shift;
|
||||
$title = WebGUI::HTML::filter($title, 'all');
|
||||
$title = $self->title if $title eq '';
|
||||
$title = $self->_default_menuTitle if $title eq '';
|
||||
unshift @_, $title;
|
||||
}
|
||||
$self->$orig(@_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue