Permalink
Browse files

Restore default behavior for empty titles.

  • Loading branch information...
perlDreamer committed Dec 1, 2011
1 parent 74159f7 commit 234c6988ab69fc97e1180b2f117f3966ec04eba7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/WebGUI/Asset.pm
@@ -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(@_);

0 comments on commit 234c698

Please sign in to comment.