The uploadArchFile takes an Event object now

This commit is contained in:
Isaac Connor 2018-09-29 08:32:57 -04:00
parent b533c8b257
commit c94367c7ad
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ sub checkFilter {
} }
if ( $Config{ZM_OPT_UPLOAD} && $filter->{AutoUpload} ) { if ( $Config{ZM_OPT_UPLOAD} && $filter->{AutoUpload} ) {
if ( !$event->{Uploaded} ) { if ( !$event->{Uploaded} ) {
$delete_ok = undef if !uploadArchFile($filter, $event); $delete_ok = undef if !uploadArchFile($filter, $Event);
} }
} }
if ( $filter->{AutoExecute} ) { if ( $filter->{AutoExecute} ) {