2
0
forked from Wavyzz/dolibarr

Debug v22

This commit is contained in:
ldestailleur
2025-07-21 18:02:50 +02:00
parent 8cb68b3b94
commit cf329df785
2 changed files with 1 additions and 1 deletions

View File

@@ -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';

View File

@@ -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 {