mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Prefix en dur "llx_" remplac par constante "MAIN_DB_PREFIX".
This commit is contained in:
@@ -39,7 +39,7 @@ $commande_addon_var = COMMANDE_ADDON;
|
||||
|
||||
if ($action == 'setmod')
|
||||
{
|
||||
$sql = "REPLACE INTO llx_const SET name = 'COMMANDE_ADDON', value='".$value."', visible=0";
|
||||
$sql = "REPLACE INTO ".MAIN_DB_PREFIX."const SET name = 'COMMANDE_ADDON', value='".$value."', visible=0";
|
||||
|
||||
if ($db->query($sql))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user