[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.115, 1.116
Mark Wells
mark at wavetail.420.am
Thu May 20 20:42:36 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv4965/httemplate/edit
Modified Files:
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.115
retrieving revision 1.116
diff -u -w -d -r1.115 -r1.116
--- part_pkg.cgi 15 Mar 2010 02:06:37 -0000 1.115
+++ part_pkg.cgi 21 May 2010 03:42:34 -0000 1.116
@@ -506,6 +506,12 @@
# $html .= ' SELECTED' if $freq eq $part_pkg->freq;
# $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'};
More information about the freeside-commits
mailing list