[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.111.2.3, 1.111.2.4
Mark Wells
mark at wavetail.420.am
Thu May 20 20:42:22 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv4901/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
part_pkg.cgi
Log Message:
fix display bug, RT#8524
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.111.2.3
retrieving revision 1.111.2.4
diff -u -w -d -r1.111.2.3 -r1.111.2.4
--- part_pkg.cgi 15 Mar 2010 02:06:38 -0000 1.111.2.3
+++ part_pkg.cgi 21 May 2010 03:42:20 -0000 1.111.2.4
@@ -507,6 +507,12 @@
foreach my $field ( grep $_ !~ /^(setup|recur)_fee$/, @fields ) {
+ if(!exists($href->{$field})) {
+ # shouldn't happen
+ warn "nonexistent part_pkg option: '$field'\n";
+ next;
+ }
+
$html .= '<TR><TD ALIGN="right">'. $href->{$field}{'name'}. '</TD><TD>';
my $format = sub { shift };
More information about the freeside-commits
mailing list