mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix
This commit is contained in:
parent
34b02ee8bf
commit
c8832f6110
@ -381,7 +381,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
@file_put_contents(storage_path('logs/invoice-repo.log'), $logMessage, FILE_APPEND);
|
||||||
}
|
}
|
||||||
|
|
||||||
$isNew = ! $publicId || inval($publicId) < 0;
|
$isNew = ! $publicId || $publicId == '-1';
|
||||||
|
|
||||||
if ($invoice) {
|
if ($invoice) {
|
||||||
// do nothing
|
// do nothing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user