[Bps-public-commit] Prophet - A disconnected, replicated p2p database branch, master, updated. adb7cb214f574ce279e80ae72d075cb17959f980

jesse jesse at bestpractical.com
Sat Jan 31 01:33:13 EST 2009


The branch, master has been updated
       via  adb7cb214f574ce279e80ae72d075cb17959f980 (commit)
      from  a9394be78df2380e27dab67f87cc4fc9d365fa1d (commit)

Summary of changes:
 lib/Prophet/PropChange.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit adb7cb214f574ce279e80ae72d075cb17959f980
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Sat Jan 31 01:32:55 2009 -0500

    Warning silencing

diff --git a/lib/Prophet/PropChange.pm b/lib/Prophet/PropChange.pm
index 9a705bb..a316afe 100644
--- a/lib/Prophet/PropChange.pm
+++ b/lib/Prophet/PropChange.pm
@@ -43,12 +43,12 @@ What L</name> changed I<to>.
 
 sub summary {
     my $self = shift;
-    my $name = $self->name;
+    my $name = $self->name || '(property name missing)';
     my $old  = $self->old_value;
     my $new  = $self->new_value;
 
     if (!defined($old)) {
-        return qq{+ "$name" set to "$new"};
+        return qq{+ "$name" set to "}.($new||'').qq{"};
     }
     elsif (!defined($new)) {
         return qq{- "$name" "$old" deleted.};

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



More information about the Bps-public-commit mailing list