add global conf to createfromclone
This commit is contained in:
parent
f1548bd253
commit
c9b321ded4
@ -1075,7 +1075,7 @@ class Commande extends CommonOrder
|
|||||||
*/
|
*/
|
||||||
public function createFromClone($socid = 0)
|
public function createFromClone($socid = 0)
|
||||||
{
|
{
|
||||||
global $user,$hookmanager;
|
global $conf, $user,$hookmanager;
|
||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user