2
0
forked from Wavyzz/dolibarr

[ bug #1377 ] Warning: get_class() called without object from outside a

class
This commit is contained in:
Florian HENRY
2014-05-07 18:19:46 +02:00
parent e35008b534
commit 0e2497e710

View File

@@ -1286,7 +1286,7 @@ function getListOfModels($db,$type,$maxfilenamelength=0)
$sql.= " WHERE type = '".$type."'";
$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);
if ($resql)
{