diff options
author | levinse <levinse> | 2011-01-24 23:06:49 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-01-24 23:06:49 +0000 |
commit | c6815d4041610785099c820df097326a70c8ce41 (patch) | |
tree | 1a8760273d5d6667dfcab3bbdeaee4ab1627a09a /httemplate | |
parent | 1f92d7423c25020073258be7453b046b30f88bc1 (diff) |
CDR reprocess with termination, RT8763
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/misc/cdr.cgi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/httemplate/misc/cdr.cgi b/httemplate/misc/cdr.cgi index d2ee77364..a344e509f 100644 --- a/httemplate/misc/cdr.cgi +++ b/httemplate/misc/cdr.cgi @@ -33,10 +33,7 @@ if ( $action eq 'new' ) { ) { my $cdr = qsearchs('cdr', { 'acctid' => $acctid }); if ( $action eq 'reprocess selected' && $cdr ) { #new - my %hash = $cdr->hash; - $hash{'freesidestatus'} = ''; - my $new = new FS::cdr \%hash; - my $error = $new->replace($cdr); + my $error = $cdr->clear_status; die $error if $error; } elsif ( $action eq 'delete selected' && $cdr ) { #del my $error = $cdr->delete; |