Fix: A better way to fix bug to enable foundation module

This commit is contained in:
Laurent Destailleur
2009-11-26 22:40:28 +00:00
parent be477e869f
commit 2f5adfa271
2 changed files with 2 additions and 2 deletions

View File

@@ -782,7 +782,7 @@ class DolibarrModules
$sql.= $this->db->encrypt($name,$conf->db->dolibarr_main_db_encryption,$conf->db->dolibarr_main_db_cryptkey,1);
$sql.= ",'".$type."'";
$sql.= ",".$this->db->encrypt($val,$conf->db->dolibarr_main_db_encryption,$conf->db->dolibarr_main_db_cryptkey,1);
$sql.= ",'".$note."'";
$sql.= ",'".addslashes($note)."'";
$sql.= ",'".$visible."'";
$sql.= ",".$entity;
$sql.= ")";