Skip to content

Commit 234c698

Browse files
committedDec 1, 2011
Restore default behavior for empty titles.
1 parent 74159f7 commit 234c698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/WebGUI/Asset.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ around title => sub {
4747
if (@_ > 0) {
4848
my $title = shift;
4949
$title = WebGUI::HTML::filter($title, 'all');
50-
$title = $self->meta->find_attribute_by_name('title')->default if $title eq '';
50+
$title = $self->_default_title if $title eq '';
5151
unshift @_, $title;
5252
}
5353
$self->$orig(@_);

0 commit comments

Comments
 (0)
Please sign in to comment.