[Jifty-commit] r934 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Apr 26 18:34:59 EDT 2006
Author: alexmv
Date: Wed Apr 26 18:34:59 2006
New Revision: 934
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Record.pm
Log:
r12638 at zoq-fot-pik: chmrr | 2006-04-26 18:34:43 -0400
* References can't possibly be "" -- this saves overloading headaches
Modified: jifty/trunk/lib/Jifty/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Record.pm (original)
+++ jifty/trunk/lib/Jifty/Record.pm Wed Apr 26 18:34:59 2006
@@ -72,7 +72,7 @@
# remove blank values. We'd rather have nulls
if ( exists $attribs{$key}
- and ( not defined $attribs{$key} or $attribs{$key} eq "" ) )
+ and ( not defined $attribs{$key} or (not ref $attribs{$key} and $attribs{$key} eq "" )) )
{
delete $attribs{$key};
}
More information about the Jifty-commit
mailing list