[Jifty-commit] r6618 - in jifty/trunk: lib/Jifty/Web/Form

Jifty commits jifty-commit at lists.jifty.org
Tue Mar 17 11:00:15 EDT 2009


Author: alexmv
Date: Tue Mar 17 11:00:13 2009
New Revision: 6618

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Clickable.pm

Log:
 r43257 at kohr-ah:  chmrr | 2009-03-17 10:42:51 -0400
 Walk around Class::Accessor


Modified: jifty/trunk/lib/Jifty/Web/Form/Clickable.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Clickable.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Clickable.pm	Tue Mar 17 11:00:13 2009
@@ -491,7 +491,8 @@
 
 sub _defined_accessor_values {
     my $self = shift;
-    return { map { my $val = $self->$_; defined $val ? ( $_ => $val ) : () }
+    # Note we're walking around Class::Accessor here
+    return { map { my $val = $self->{$_}; defined $val ? ( $_ => $val ) : () }
             $self->SUPER::accessors };
 }
 


More information about the Jifty-commit mailing list