Fix: Fonction dolibarr_del_const incomplète
This commit is contained in:
parent
06c4e083a0
commit
ecf45764cc
@ -308,7 +308,7 @@ function dolibarr_get_const($db, $name)
|
|||||||
|
|
||||||
$sql ="SELECT value";
|
$sql ="SELECT value";
|
||||||
$sql.=" FROM llx_const";
|
$sql.=" FROM llx_const";
|
||||||
$sql.=" WHERE name = '$name';";
|
$sql.=" WHERE name = '".addslashes($name)."'";
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user