[freeside-commits] freeside/FS/FS cust_main.pm,1.319,1.320
Ivan,,,
ivan at wavetail.420.am
Wed Nov 7 18:10:31 PST 2007
- Previous message: [freeside-commits] freeside/conf alerter_template, 1.2, 1.3 invoice_template, 1.2, 1.3 invoice_latexreturnaddress, 1.1, NONE invoice_template_statement, 1.1, 1.2 company_name, NONE, 1.1 company_address, NONE, 1.1 impending_recur_template, 1.1, 1.2 welcome_letter, 1.2, 1.3 invoice_latexfooter, 1.4, 1.5 invoice_latexsmallfooter, 1.1, 1.2 invoice_latexnotes, 1.2, 1.3
- Next message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.24, 1.271.2.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv18796
Modified Files:
cust_main.pm
Log Message:
prevent warning: "Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.8.8/FS/cust_main.pm line 1668."
Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.319
retrieving revision 1.320
diff -u -d -r1.319 -r1.320
--- cust_main.pm 8 Nov 2007 00:59:34 -0000 1.319
+++ cust_main.pm 8 Nov 2007 02:10:28 -0000 1.320
@@ -1681,7 +1681,8 @@
}
sub num_pkgs {
- my( $self, $sql ) = @_;
+ my( $self ) = shift;
+ my $sql = scalar(@_) ? shift : '';
$sql = "AND $sql" if $sql && $sql !~ /^\s*$/ && $sql !~ /^\s*AND/i;
my $sth = dbh->prepare(
"SELECT COUNT(*) FROM cust_pkg WHERE custnum = ? $sql"
- Previous message: [freeside-commits] freeside/conf alerter_template, 1.2, 1.3 invoice_template, 1.2, 1.3 invoice_latexreturnaddress, 1.1, NONE invoice_template_statement, 1.1, 1.2 company_name, NONE, 1.1 company_address, NONE, 1.1 impending_recur_template, 1.1, 1.2 welcome_letter, 1.2, 1.3 invoice_latexfooter, 1.4, 1.5 invoice_latexsmallfooter, 1.1, 1.2 invoice_latexnotes, 1.2, 1.3
- Next message: [freeside-commits] freeside/FS/FS cust_main.pm, 1.271.2.24, 1.271.2.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list