change done

This commit is contained in:
BENKE Charlie 2015-08-23 00:30:11 +02:00
parent 1b117d5581
commit af7302fa90

View File

@ -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);
} }