From d7a31ea9010b8f920dcbca2538caf6b40afe85b9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 28 Dec 2009 18:37:53 -0800 Subject: [PATCH] Try to centralize all the menuTitle defaults in 1 place. --- lib/WebGUI/Asset.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 4b5536a10..3adfd6d1c 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -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(@_);