change done
This commit is contained in:
parent
1b117d5581
commit
af7302fa90
@ -664,7 +664,7 @@ class MouvementStock extends CommonObject
|
|||||||
default:
|
default:
|
||||||
if ($origintype)
|
if ($origintype)
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/'.$origintype.'/class/'.$origintype.'.class.php';
|
dol_include_once ('/'.$origintype.'/class/'.$origintype.'.class.php');
|
||||||
$classname = ucfirst($origintype);
|
$classname = ucfirst($origintype);
|
||||||
$origin = new $classname($this->db);
|
$origin = new $classname($this->db);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user