2
0
forked from Wavyzz/dolibarr

Fix: the pdf template name for typhon as not correctly set when enabling

module.
This commit is contained in:
Laurent Destailleur
2014-05-06 13:31:30 +02:00
parent c4291c228e
commit 959b104b78
3 changed files with 7 additions and 5 deletions

View File

@@ -1286,6 +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);
$resql = $db->query($sql);
if ($resql)
{