Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed issue checking old vs new keys

  • Loading branch information...
commit b5625206ebdea104603cfad5d7a5c06d0045cb70 1 parent 63c0237
@ioncache authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/DBIx/Class/AuditLog.pm
View
2  lib/DBIx/Class/AuditLog.pm
@@ -49,7 +49,7 @@ sub update {
}
foreach my $key ( keys %new_data ) {
- if ( $old_data{$key} eq $new_data{$key} ) {
+ if ( defined $old_data{$key} && $old_data{$key} eq $new_data{$key} ) {
delete $new_data{$key};
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.