X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FJournal.pm;fp=lib%2FDBIx%2FClass%2FSchema%2FJournal.pm;h=f2618f98fd453d2f6a5781b9e99525e510994d71;hb=1891bb5f2ed75845540346b369354b1ed7f8a841;hp=5eabd4615a975eccdc1f7c53493576bbd16884a4;hpb=e32a5dbb860ac89a6266e98df7c006451cdceaa4;p=dbsrgits%2FDBIx-Class-Journal.git diff --git a/lib/DBIx/Class/Schema/Journal.pm b/lib/DBIx/Class/Schema/Journal.pm index 5eabd46..f2618f9 100644 --- a/lib/DBIx/Class/Schema/Journal.pm +++ b/lib/DBIx/Class/Schema/Journal.pm @@ -181,7 +181,7 @@ sub prepopulate_journal { # create the audit log entries for the rows in this page $log_rs->populate([ - map {{ create_id => $log_ids[$_], id => $x[$_]->{$pk} }} (0 .. $#x) + map {{ create_id => $log_ids[$_], $pk => $x[$_]->{$pk} }} (0 .. $#x) ]); # now populate the audit history