[Bps-public-commit] r17555 - in sd/trunk: . lib

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Jan 5 06:05:20 EST 2009


Author: sunnavy
Date: Mon Jan  5 06:05:20 2009
New Revision: 17555

Added:
   sd/trunk/lib/
      - copied from r17552, /sd/trunk/lib/
Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/CLI/Command/Ticket/Show.pm

Log:
 r18542 at sunnavys-mb:  sunnavy | 2009-01-05 19:04:46 +0800
 erase an unitialized warning


Modified: sd/trunk/lib/App/SD/CLI/Command/Ticket/Show.pm
==============================================================================
--- /sd/trunk/lib/App/SD/CLI/Command/Ticket/Show.pm	(original)
+++ sd/trunk/lib/App/SD/CLI/Command/Ticket/Show.pm	Mon Jan  5 06:05:20 2009
@@ -29,7 +29,7 @@
         for my $comment (@comments) {
             my $creator = $comment->prop('creator');
             my $created = $comment->prop('created');
-            my $content = $comment->prop('content');
+            my $content = $comment->prop('content') || '';
             print "$creator: " if $creator;
             print "$created\n$content\n\n";
         }



More information about the Bps-public-commit mailing list