[Bps-public-commit] jifty-plugin-recordhistory branch, master, updated. 14f9a5b83c9e22efa59153aeb5b5a2b3cfa7e92f

Shawn Moore sartak at bestpractical.com
Wed Feb 9 17:57:16 EST 2011


The branch, master has been updated
       via  14f9a5b83c9e22efa59153aeb5b5a2b3cfa7e92f (commit)
      from  6aa8d42c7c4b20095aefc828a59d37c9e8da12b4 (commit)

Summary of changes:
 .../RecordHistory/Mixin/Model/RecordHistory.pm     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 14f9a5b83c9e22efa59153aeb5b5a2b3cfa7e92f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Feb 9 17:56:59 2011 -0500

    Trigger args are passed as a ref not a list

diff --git a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
index 437ed64..e02abff 100644
--- a/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
+++ b/lib/Jifty/Plugin/RecordHistory/Mixin/Model/RecordHistory.pm
@@ -30,7 +30,7 @@ sub import {
         my %args   = (
             column => undef,
             value  => undef,
-            @_,
+            %{ shift @_ },
         );
 
         # TODO: instead of always creating a change, see if there's an active one

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



More information about the Bps-public-commit mailing list