forked from Wavyzz/dolibarr
fix warning message into function2.lib.php
This commit is contained in:
@@ -1286,7 +1286,7 @@ function getListOfModels($db,$type,$maxfilenamelength=0)
|
|||||||
$sql.= " WHERE type = '".$type."'";
|
$sql.= " WHERE type = '".$type."'";
|
||||||
$sql.= " AND entity IN (0,".(! empty($conf->multicompany->enabled) && ! empty($conf->multicompany->transverse_mode)?"1,":"").$conf->entity.")";
|
$sql.= " AND entity IN (0,".(! empty($conf->multicompany->enabled) && ! empty($conf->multicompany->transverse_mode)?"1,":"").$conf->entity.")";
|
||||||
|
|
||||||
dol_syslog(get_class($this).'::getListOfModels sql='.$sql, LOG_DEBUG);
|
dol_syslog('/core/lib/function2.lib.php::getListOfModels sql='.$sql, LOG_DEBUG);
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user