[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.116, 1.117
Mark Wells
mark at wavetail.420.am
Thu May 20 20:48:40 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv5184/httemplate/edit
Modified Files:
part_pkg.cgi
Log Message:
fix typo
Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -w -d -r1.116 -r1.117
--- part_pkg.cgi 21 May 2010 03:42:34 -0000 1.116
+++ part_pkg.cgi 21 May 2010 03:48:38 -0000 1.117
@@ -507,11 +507,6 @@
# $html .= ">$freq{$freq}";
#}
- if(!exists($href->{$field})) {
- # shouldn't happen
- warn "nonexistent part_pkg option: '$field'\n";
- next;
- }
#$html .= '</SELECT></TD></TR>';
my $href = $plans{$layer}->{'fields'};
@@ -521,6 +516,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