[Rt-commit] [svn] r1794 - in DBIx-SearchBuilder/trunk: .
SearchBuilder
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Wed Nov 10 08:06:32 EST 2004
Author: jesse
Date: Wed Nov 10 08:06:31 2004
New Revision: 1794
Modified:
DBIx-SearchBuilder/trunk/ (props changed)
DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm
Log:
r9046 at tinbook: jesse | 2004-11-10T13:04:45.218582Z
No need to truncate empty things
Modified: DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm
==============================================================================
--- DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm (original)
+++ DBIx-SearchBuilder/trunk/SearchBuilder/Record.pm Wed Nov 10 08:06:31 2004
@@ -773,6 +773,9 @@
my $key = shift;
my $value = shift;
+ # We don't need to truncate empty things.
+ return undef unless (defined ($value));
+
my $metadata = $self->_ClassAccessible->{$key};
my $truncate_to;
More information about the Rt-commit
mailing list