From af7302fa90bc43fb537aa7356695bec82f252ecb Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Sun, 23 Aug 2015 00:30:11 +0200 Subject: [PATCH] change done --- htdocs/product/stock/class/mouvementstock.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/stock/class/mouvementstock.class.php b/htdocs/product/stock/class/mouvementstock.class.php index 1e72e151044..21bfad54f0e 100644 --- a/htdocs/product/stock/class/mouvementstock.class.php +++ b/htdocs/product/stock/class/mouvementstock.class.php @@ -664,7 +664,7 @@ class MouvementStock extends CommonObject default: if ($origintype) { - require_once DOL_DOCUMENT_ROOT.'/'.$origintype.'/class/'.$origintype.'.class.php'; + dol_include_once ('/'.$origintype.'/class/'.$origintype.'.class.php'); $classname = ucfirst($origintype); $origin = new $classname($this->db); }