forked from Wavyzz/dolibarr
Debug v19
This commit is contained in:
@@ -974,7 +974,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
||||
|
||||
$sql = "SELECT tms FROM ".MAIN_DB_PREFIX."const";
|
||||
$sql .= " WHERE ".$this->db->decrypt('name')." = '".$this->db->escape($this->const_name)."'";
|
||||
$sql .= " AND entity IN (0, ".$conf->entity.")";
|
||||
$sql .= " AND entity IN (0, ".((int) $conf->entity).")";
|
||||
|
||||
dol_syslog(get_class($this)."::getLastActiveDate", LOG_DEBUG);
|
||||
$resql = $this->db->query($sql);
|
||||
|
||||
Reference in New Issue
Block a user