[freeside-commits] freeside/FS/FS svc_Common.pm,1.29,1.30
Ivan,,,
ivan at wavetail.420.am
Mon Nov 28 08:59:57 PST 2005
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv5643
Modified Files:
svc_Common.pm
Log Message:
allow defaults to override empty values for new objects
Index: svc_Common.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_Common.pm,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- svc_Common.pm 22 Nov 2005 16:41:28 -0000 1.29
+++ svc_Common.pm 28 Nov 2005 16:59:55 -0000 1.30
@@ -51,7 +51,7 @@
$self->{'Hash'} = { map { $_ => $newhash->{$_} } qw(svcnum svcpart) };
$self->setdefault;
$self->{'Hash'}{$_} = $newhash->{$_}
- foreach #grep length($newhash->{$_}),
+ foreach grep length($newhash->{$_}),
keys %$newhash;
foreach my $field ( grep !defined($self->{'Hash'}{$_}), $self->fields ) {
More information about the freeside-commits
mailing list