[Bps-public-commit] r11595 - in SVN-PropDB: .

jesse at bestpractical.com jesse at bestpractical.com
Sun Apr 6 08:03:54 EDT 2008


Author: jesse
Date: Sun Apr  6 08:03:49 2008
New Revision: 11595

Modified:
   SVN-PropDB/   (props changed)
   SVN-PropDB/lib/Prophet/Change.pm

Log:
 r29395 at 68-247-97-201:  jesse | 2008-04-06 02:03:34 -1000
 I am stupid


Modified: SVN-PropDB/lib/Prophet/Change.pm
==============================================================================
--- SVN-PropDB/lib/Prophet/Change.pm	(original)
+++ SVN-PropDB/lib/Prophet/Change.pm	Sun Apr  6 08:03:49 2008
@@ -102,8 +102,8 @@
     my $self = $class->new({ node_type => $hashref->{'node_type'}, node_uuid => $uuid, change_type => $hashref->{'change_type'}});
     foreach my $prop (keys %{$hashref->{'prop_changes'}}) {
             $self->add_prop_change( name => $prop, 
-                    old => $hashref->{'prop_changes'}->{'old_value'},
-                    new => $hashref->{'prop_changes'}->{'new_value'}
+                    old => $hashref->{'prop_changes'}->{$prop}->{'old_value'},
+                    new => $hashref->{'prop_changes'}->{$prop}->{'new_value'}
                 );
     }
     return $self;



More information about the Bps-public-commit mailing list