summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_bill_event.cgi
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2004-10-26 13:08:19 +0000
committercvs2git <cvs2git>2004-10-26 13:08:19 +0000
commitd73b26abb947fec52fc2807c52b8ad322a30d9a0 (patch)
treed27b1d9e3eaa5256619a54c65464baed3446834d /httemplate/edit/process/part_bill_event.cgi
parentbeccdb9fb97f30c35c7783965849ea018b9fe1ef (diff)
parent87d033c6898dd553a403d679f6ca1048071843da (diff)
This commit was manufactured by cvs2svn to create tag 'freeside_1_4_2beta1'.freeside_1_4_2beta1
Diffstat (limited to 'httemplate/edit/process/part_bill_event.cgi')
-rwxr-xr-xhttemplate/edit/process/part_bill_event.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/httemplate/edit/process/part_bill_event.cgi b/httemplate/edit/process/part_bill_event.cgi
index 77dcd24..e224bf6 100755
--- a/httemplate/edit/process/part_bill_event.cgi
+++ b/httemplate/edit/process/part_bill_event.cgi
@@ -5,7 +5,7 @@ my $eventpart = $cgi->param('eventpart');
my $old = qsearchs('part_bill_event',{'eventpart'=>$eventpart}) if $eventpart;
#s/days/seconds/
-$cgi->param('seconds', int( $cgi->param('days') * 86400 ) );
+$cgi->param('seconds', $cgi->param('days') * 86400 );
my $error;
if ( ! $cgi->param('plan_weight_eventcode') ) {
@@ -21,8 +21,7 @@ if ( ! $cgi->param('plan_weight_eventcode') ) {
my $plandata = '';
while ( $eventcode =~ /%%%(\w+)%%%/ ) {
my $field = $1;
- my $value = join(', ', $cgi->param($field) );
- $cgi->param($field, $value); #in case it errors out
+ my $value = $cgi->param($field);
$eventcode =~ s/%%%$field%%%/$value/;
$plandata .= "$field $value\n";
}