Fix bug intervention numbering on validation

This commit is contained in:
fhenry 2013-05-12 17:54:30 +02:00
parent a78b3149fe
commit 757c22a204

View File

@ -372,7 +372,7 @@ class Fichinter extends CommonObject
// Define new ref // Define new ref
if (! $error && (preg_match('/^[\(]?PROV/i', $this->ref))) if (! $error && (preg_match('/^[\(]?PROV/i', $this->ref)))
{ {
$num = $this->getNextNumRef($soc); $num = $this->getNextNumRef($this->thirdparty);
} }
else else
{ {