Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 5, 2017
1 parent c6e1087 commit 2c19c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/compta/facture/class/facture.class.php
Expand Up @@ -1783,7 +1783,7 @@ function delete($user, $notrigger=0, $idwarehouse=-1)
// Test to avoid invoice deletion (allowed if draft)
$test = $this->is_erasable();

if ($test <= 0) return $test;
if ($test <= 0) return 0;

$error=0;

Expand Down

0 comments on commit 2c19c0a

Please sign in to comment.