mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Delete the config by name prior to insertion, just in case it was listed under
another appname previously
This commit is contained in:
parent
f5bbe15e1e
commit
19b1fcb265
@ -65,6 +65,7 @@
|
||||
{
|
||||
$name = addslashes($name);
|
||||
$value = addslashes($value);
|
||||
$this->db->query("delete from phpgw_config where config_name='" . $name . "'",__LINE__,__FILE__);
|
||||
$this->db->query("insert into phpgw_config (config_app,config_name,config_value) "
|
||||
. "values ('" . $this->appname . "','" . $name . "','" . $value . "')",__LINE__,__FILE__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user