[Rt-commit] r16088 - in rt/3.8/trunk: sbin
elacour at bestpractical.com
elacour at bestpractical.com
Fri Sep 26 05:56:56 EDT 2008
Author: elacour
Date: Fri Sep 26 05:56:55 2008
New Revision: 16088
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/sbin/rt-dump-database.in
Log:
r10760 at datura: manu | 2008-09-26 11:40:53 +0200
Silent "Use of uninitialized" in rt-dump-database.
Modified: rt/3.8/trunk/sbin/rt-dump-database.in
==============================================================================
--- rt/3.8/trunk/sbin/rt-dump-database.in (original)
+++ rt/3.8/trunk/sbin/rt-dump-database.in Fri Sep 26 05:56:55 2008
@@ -139,7 +139,7 @@
# next if $obj-> # skip default names
foreach my $field (sort keys %fields) {
my $value = $obj->__Value($field);
- $rv->{$field} = $value if length($value);
+ $rv->{$field} = $value if ( defined ($value) && length($value) );
}
delete $rv->{Disabled} unless $rv->{Disabled};
More information about the Rt-commit
mailing list