This commit is contained in:
Laurent Destailleur 2017-12-05 20:16:28 +01:00
parent c6e1087834
commit 2c19c0a10e

View File

@ -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;