From 757c22a204410c49b5996202cc0130bdf45e670f Mon Sep 17 00:00:00 2001 From: fhenry Date: Sun, 12 May 2013 17:54:30 +0200 Subject: [PATCH] Fix bug intervention numbering on validation --- htdocs/fichinter/class/fichinter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php index b2c4884cf3e3f..a748ef0f549a4 100644 --- a/htdocs/fichinter/class/fichinter.class.php +++ b/htdocs/fichinter/class/fichinter.class.php @@ -372,7 +372,7 @@ function setValid($user) // Define new ref if (! $error && (preg_match('/^[\(]?PROV/i', $this->ref))) { - $num = $this->getNextNumRef($soc); + $num = $this->getNextNumRef($this->thirdparty); } else {