Fix test
This commit is contained in:
parent
c6e1087834
commit
2c19c0a10e
@ -1783,7 +1783,7 @@ class Facture extends CommonInvoice
|
||||
// Test to avoid invoice deletion (allowed if draft)
|
||||
$test = $this->is_erasable();
|
||||
|
||||
if ($test <= 0) return $test;
|
||||
if ($test <= 0) return 0;
|
||||
|
||||
$error=0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user