[freeside-commits] freeside/httemplate/edit part_svc.cgi, 1.59, 1.60
Ivan,,,
ivan at wavetail.420.am
Sat Mar 15 22:13:56 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv18951
Modified Files:
part_svc.cgi
Log Message:
finish bringing sanity to svc_broadband service definition blocknum edit
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- part_svc.cgi 13 Jan 2008 21:35:52 -0000 1.59
+++ part_svc.cgi 16 Mar 2008 05:13:54 -0000 1.60
@@ -261,9 +261,10 @@
% if ( $def->{select_table} ) {
% foreach my $record ( qsearch( $def->{select_table}, {} ) ) {
% my $rvalue = $record->getfield($def->{select_key});
+% my $select_label = $def->{select_label};
% $html .= qq!<OPTION VALUE="$rvalue"!.
% (grep(/^$rvalue$/, split(',',$value)) ? ' SELECTED>' : '>' ).
-% $record->getfield($def->{select_label}). '</OPTION>';
+% $record->$select_label(). '</OPTION>';
% } #next $record
% } else { # select_list
% foreach my $item ( @{$def->{select_list}} ) {
More information about the freeside-commits
mailing list