Transfer and Reconciliations form media issue solved ( #3qec06f )

This commit is contained in:
Cüneyt Şentürk
2022-10-31 15:43:35 +03:00
parent 3552cf1fe1
commit e786d3fc65
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class UpdateTransfer extends Job implements ShouldUpdate
$this->model->attachMedia($media, 'attachment');
}
} elseif (!$this->request->file('attachment') && $this->model->attachment) {
} elseif (! $this->request->file('attachment') && $this->model->attachment) {
$this->deleteMediaModel($this->model, 'attachment', $this->request);
}