mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 01:23:00 +01:00
Update DolibarrModules.class.php
This commit is contained in:
@@ -895,6 +895,8 @@ class DolibarrModules // Can not be abstract, because we need to insta
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$err = 0;
|
||||
|
||||
$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.")";
|
||||
@@ -921,6 +923,8 @@ class DolibarrModules // Can not be abstract, because we need to insta
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$err = 0;
|
||||
|
||||
$sql = "SELECT tms, note FROM ".MAIN_DB_PREFIX."const";
|
||||
$sql.= " WHERE ".$this->db->decrypt('name')." = '".$this->db->escape($this->const_name)."'";
|
||||
$sql.= " AND entity IN (0, ".$conf->entity.")";
|
||||
|
||||
Reference in New Issue
Block a user