[freeside-commits] freeside/httemplate/browse part_pkg.cgi, 1.28,
1.29
Ivan,,,
ivan at wavetail.420.am
Tue Jul 12 02:31:23 PDT 2005
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail:/tmp/cvs-serv8297/httemplate/browse
Modified Files:
part_pkg.cgi
Log Message:
<rjbs> More of the same: these patches make it safer to subclass FS::part_pkg's pkg_svc method by eliminating qsearches on table pkg_svc.
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/part_pkg.cgi,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- part_pkg.cgi 9 Jun 2005 20:26:08 -0000 1.28
+++ part_pkg.cgi 12 Jul 2005 09:31:21 -0000 1.29
@@ -144,9 +144,8 @@
<TD ROWSPAN=<%= $rowspan %>><%= $plandata %></TD>
<%
- my($pkg_svc);
my($n)="";
- foreach $pkg_svc ( @pkg_svc ) {
+ foreach my $pkg_svc ( @pkg_svc ) {
my($svcpart)=$pkg_svc->getfield('svcpart');
my($part_svc) = qsearchs('part_svc',{'svcpart'=> $svcpart });
print $n,qq!<TD><A HREF="${p}edit/part_svc.cgi?$svcpart">!,
More information about the freeside-commits
mailing list