diff options
author | cvs2git <cvs2git> | 2005-07-11 12:55:33 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2005-07-11 12:55:33 +0000 |
commit | 608586dce994179032e58eb7aee1ae9d163fe406 (patch) | |
tree | 6ff6f1e8d5cc1f3da32fd30457212ced45bfd60f /httemplate/edit/process/part_bill_event.cgi | |
parent | 2c409fc7ec987574161817024018e54d5879288e (diff) | |
parent | 352b6a40e53c0b23b3d9709b5f5942ef19d8c80c (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-x | httemplate/edit/process/part_bill_event.cgi | 5 |
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"; } |