add global conf to createfromclone

This commit is contained in:
Christophe Battarel
2019-03-27 10:32:40 +01:00
parent f1548bd253
commit c9b321ded4

View File

@@ -1075,7 +1075,7 @@ class Commande extends CommonOrder
*/
public function createFromClone($socid = 0)
{
global $user,$hookmanager;
global $conf, $user,$hookmanager;
$error=0;