Skip to content

Commit

Permalink
Update manifest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelWagstaff authored Nov 3, 2022
1 parent c55dacd commit c31ec02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function build_flat_file(){
}

public function cleanup() {
if( isset($this->tmp_file) && get_resource_type($this->tmp_file) === 'file' ){
if( isset($this->tmp_file) && file_exists($this->tmp_file) ){
unlink($this->tmp_file);
}
}
Expand Down

0 comments on commit c31ec02

Please sign in to comment.