Fix
This commit is contained in:
parent
34b02ee8bf
commit
c8832f6110
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ class InvoiceRepository extends BaseRepository
|
|||
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
||||
}
|
||||
|
||||
$isNew = ! $publicId || inval($publicId) < 0;
|
||||
$isNew = ! $publicId || $publicId == '-1';
|
||||
|
||||
if ($invoice) {
|
||||
// do nothing
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue