forked from Wavyzz/dolibarr
Debug v22
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobjectline.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/commonobjectline.class.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/core/class/commonorder.class.php'; // Because the CommonOrderLine is still in commonorder.class.php file
|
||||||
require_once DOL_DOCUMENT_ROOT.'/margin/lib/margins.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/margin/lib/margins.lib.php';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1530,7 +1530,6 @@ function dol_include_once($relpath, $classname = '')
|
|||||||
dol_syslog('functions::dol_include_once Tried to load unexisting file: '.$relpath, LOG_WARNING);
|
dol_syslog('functions::dol_include_once Tried to load unexisting file: '.$relpath, LOG_WARNING);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($classname) && !class_exists($classname)) {
|
if (!empty($classname) && !class_exists($classname)) {
|
||||||
return include $fullpath;
|
return include $fullpath;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user