summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_bill_event.cgi
diff options
context:
space:
mode:
authorcvs2git <cvs2git>2005-07-11 12:55:33 +0000
committercvs2git <cvs2git>2005-07-11 12:55:33 +0000
commit608586dce994179032e58eb7aee1ae9d163fe406 (patch)
tree6ff6f1e8d5cc1f3da32fd30457212ced45bfd60f /httemplate/edit/process/part_bill_event.cgi
parent2c409fc7ec987574161817024018e54d5879288e (diff)
parent352b6a40e53c0b23b3d9709b5f5942ef19d8c80c (diff)
This commit was manufactured by cvs2svn to create tag 'freeside_1_4_2'.freeside_1_4_2
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 77dcd242a..e224bf634 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";
}