[Bps-public-commit] r17866 - Net-Trac/trunk/lib/Net/Trac

jesse at bestpractical.com jesse at bestpractical.com
Wed Jan 21 14:59:29 EST 2009


Author: jesse
Date: Wed Jan 21 14:59:29 2009
New Revision: 17866

Modified:
   Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm

Log:
Fix an undefined warning

Modified: Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm
==============================================================================
--- Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm	(original)
+++ Net-Trac/trunk/lib/Net/Trac/TicketHistoryEntry.pm	Wed Jan 21 14:59:29 2009
@@ -79,7 +79,7 @@
 
 sub _parse_props {
     my $self       = shift;
-    my $raw        = shift;
+    my $raw        = shift || '';
     my @prop_lines = split( m#</li>\s*<li>#, $raw );
     my $props      = {};
     foreach my $line (@prop_lines) {



More information about the Bps-public-commit mailing list