[Jifty-commit] r4725 - jifty/trunk/lib/Jifty/Action
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Dec 17 13:09:35 EST 2007
Author: clkao
Date: Mon Dec 17 13:09:35 2007
New Revision: 4725
Modified:
jifty/trunk/lib/Jifty/Action/Record.pm
Log:
oops, revert accidental changes in the deferred sub.
Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm Mon Dec 17 13:09:35 2007
@@ -159,7 +159,7 @@
my $weakself = $self;
Scalar::Util::weaken $weakself;
$arguments->{$field}->{default_value} = defer {
- my $val = undef;#$function->( $weakself->record );
+ my $val = $function->( $weakself->record );
# If the current value is actually a pointer to
# another object, turn it into an ID
return $val->id if (blessed($val) and $val->isa('Jifty::Record'));
More information about the Jifty-commit
mailing list