Fix set create_line rang parameter not required
This commit is contained in:
parent
4760e5b1b3
commit
0e65d08455
@ -447,7 +447,7 @@ class Expedition extends CommonObject
|
||||
* @param array $array_options extrafields array
|
||||
* @return int <0 if KO, line_id if OK
|
||||
*/
|
||||
public function create_line($entrepot_id, $origin_line_id, $qty, $rang, $array_options = 0)
|
||||
public function create_line($entrepot_id, $origin_line_id, $qty, $rang = 0, $array_options = 0)
|
||||
{
|
||||
//phpcs:enable
|
||||
global $user;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user