[freeside-commits] freeside/httemplate/browse rate_detail.html, 1.3, 1.4
Ivan,,,
ivan at wavetail.420.am
Mon Mar 31 21:19:13 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv26030
Modified Files:
rate_detail.html
Log Message:
can't run include() sub at <%once> time
Index: rate_detail.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/rate_detail.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rate_detail.html 1 Apr 2008 03:56:07 -0000 1.3
+++ rate_detail.html 1 Apr 2008 04:19:11 -0000 1.4
@@ -41,8 +41,6 @@
my $conf = new FS::Conf;
my $money_char = $conf->config('money_char') || '$';
-my $html_init = include('/elements/init_overlib.html');
-
my $join =
' JOIN rate_region ON ( rate_detail.dest_regionnum = rate_region.regionnum )';
@@ -66,6 +64,8 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+my $html_init = include('/elements/init_overlib.html');
+
$cgi->param('ratenum') =~ /^(\d+)$/ or die "unparsable ratenum";
my $ratenum = $1;
my $rate = qsearchs('rate', { 'ratenum' => $ratenum } )
More information about the freeside-commits
mailing list