[freeside-commits] freeside/httemplate/browse rate_detail.html, 1.1.2.4, 1.1.2.5
Ivan,,,
ivan at wavetail.420.am
Mon Mar 31 21:19:14 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv26036
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- rate_detail.html 1 Apr 2008 03:56:08 -0000 1.1.2.4
+++ rate_detail.html 1 Apr 2008 04:19:12 -0000 1.1.2.5
@@ -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