Restore default behavior for empty titles.
This commit is contained in:
parent
74159f7655
commit
234c6988ab
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ around title => sub {
|
||||||
if (@_ > 0) {
|
if (@_ > 0) {
|
||||||
my $title = shift;
|
my $title = shift;
|
||||||
$title = WebGUI::HTML::filter($title, 'all');
|
$title = WebGUI::HTML::filter($title, 'all');
|
||||||
$title = $self->meta->find_attribute_by_name('title')->default if $title eq '';
|
$title = $self->_default_title if $title eq '';
|
||||||
unshift @_, $title;
|
unshift @_, $title;
|
||||||
}
|
}
|
||||||
$self->$orig(@_);
|
$self->$orig(@_);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue