[freeside-commits] freeside/FS/FS part_pkg.pm,1.93,1.94
Ivan,,,
ivan at wavetail.420.am
Mon Jun 22 03:45:28 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv26545
Modified Files:
part_pkg.pm
Log Message:
eliminate harmless upgrade error:
Argument "" isn't numeric in numeric eq (==) at /usr/local/share/perl/5.8.8/FS/part_pkg.pm line 371.
Index: part_pkg.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg.pm,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- part_pkg.pm 22 Jun 2009 10:28:41 -0000 1.93
+++ part_pkg.pm 22 Jun 2009 10:45:26 -0000 1.94
@@ -369,7 +369,7 @@
foreach my $part_svc ( qsearch('part_svc', {} ) ) {
my $quantity = $pkg_svc->{$part_svc->svcpart} || 0;
my $primary_svc =
- ( defined($options->{'primary_svc'})
+ ( defined($options->{'primary_svc'}) && $options->{'primary_svc'}
&& $options->{'primary_svc'} == $part_svc->svcpart
)
? 'Y'
More information about the freeside-commits
mailing list