[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-719-ga2f5c42

Jesse Vincent jesse at bestpractical.com
Tue Sep 7 13:36:58 EDT 2010


The branch, 3.9-trunk has been updated
       via  a2f5c421711acf53426c23cc763d87af6976eb4b (commit)
      from  045a925421a6f8fdddc915deadddb8eb6d20a4e9 (commit)

Summary of changes:
 share/html/Elements/ListMenu |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit a2f5c421711acf53426c23cc763d87af6976eb4b
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Sep 7 13:39:05 2010 -0400

    Ward against an undef warning.

diff --git a/share/html/Elements/ListMenu b/share/html/Elements/ListMenu
index 1a0d4eb..1f9dbd1 100644
--- a/share/html/Elements/ListMenu
+++ b/share/html/Elements/ListMenu
@@ -51,7 +51,7 @@ $items
 <ul class="list-menu">
 %    foreach my $key (sort keys %$items) {
 <li><span class="menu-item"><a href="<%RT->Config->Get('WebPath')%><%$items->{$key}->{'path'}|n %>"><%$items->{$key}->{'title'}%></a></span><br />
-<span class="description"><%$items->{$key}->{description} || $items->{$key}->{text} %></span>
+<span class="description"><%$items->{$key}->{description} || $items->{$key}->{text} || '' %></span>
 
 </li>
 %}

-----------------------------------------------------------------------


More information about the Rt-commit mailing list