[freeside-commits] freeside/FS/FS/ClientAPI Signup.pm,1.49,1.50

Ivan,,, ivan at wavetail.420.am
Thu Jun 25 12:55:37 PDT 2009


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv8238

Modified Files:
	Signup.pm 
Log Message:
eliminate harmless warning log spam:
 Argument "" isn't numeric in numeric eq (==) 
at /usr/local/share/perl/5.8.8/FS/ClientAPI/Signup.pm line 57


Index: Signup.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/Signup.pm,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- Signup.pm	25 Jun 2009 19:47:48 -0000	1.49
+++ Signup.pm	25 Jun 2009 19:55:35 -0000	1.50
@@ -61,7 +61,9 @@
                   } }
                 grep { $_->svcpart($svc_x)
                        && ( $href->{ $_->pkgpart }
-                            || $_->agentnum == $agent->agentnum
+                            || ( $_->agentnum
+                                 && $_->agentnum == $agent->agentnum
+                               )
                           )
                      }
                   qsearch( 'part_pkg', { 'disabled' => '' } )



More information about the freeside-commits mailing list