2
0
forked from Wavyzz/dolibarr

Debug v18

This commit is contained in:
Laurent Destailleur
2023-04-03 12:06:16 +02:00
parent 254e785c47
commit 2f34f179b9
4 changed files with 17 additions and 10 deletions

View File

@@ -11357,6 +11357,12 @@ function getElementProperties($element_type)
$classname = 'Productlot';
$element = 'productlot';
$subelement = '';
} elseif ($element_type == 'websitepage') {
$classpath = 'website/class';
$classfile = 'websitepage';
$classname = 'Websitepage';
$module = 'website';
$subelement = 'websitepage';
}
if (empty($classfile)) {
@@ -11391,7 +11397,7 @@ function getElementProperties($element_type)
*/
function fetchObjectByElement($element_id, $element_type, $element_ref = '')
{
global $conf, $db;
global $db;
$ret = 0;