Skip to content

Commit

Permalink
Restore default behavior for empty titles.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Dec 1, 2011
1 parent 74159f7 commit 234c698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebGUI/Asset.pm
Expand Up @@ -47,7 +47,7 @@ around title => sub {
if (@_ > 0) {
my $title = shift;
$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;
}
$self->$orig(@_);
Expand Down

0 comments on commit 234c698

Please sign in to comment.