Skip to content
Snippets Groups Projects
Commit eed8f1af authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Valeur des constantes contenaient des \ si une apostrophe était insérée.

parent 7d48db2a
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ if ($result) ...@@ -135,7 +135,7 @@ if ($result)
{ {
$objp = $db->fetch_object($result); $objp = $db->fetch_object($result);
$key=$objp->name; $key=$objp->name;
$value=$objp->value; $value=stripslashes($objp->value);
define ("$key", $value); define ("$key", $value);
$conf->global->$key=$value; $conf->global->$key=$value;
$i++; $i++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment