mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Changed the addslashes to db_addslashes.
This commit is contained in:
parent
d23736a1dc
commit
33bd4e9714
@ -84,8 +84,8 @@
|
|||||||
@$phpgw_setup->db->query("DELETE FROM $configtbl WHERE config_name='" . $setting . "'");
|
@$phpgw_setup->db->query("DELETE FROM $configtbl WHERE config_name='" . $setting . "'");
|
||||||
if($value)
|
if($value)
|
||||||
{
|
{
|
||||||
$phpgw_setup->db->query("INSERT INTO $configtbl (config_app,config_name, config_value) VALUES ('phpgwapi','" . addslashes($setting)
|
$phpgw_setup->db->query("INSERT INTO $configtbl (config_app,config_name, config_value) VALUES ('phpgwapi','" . $phpgw_setup->db->db_addslashes($setting)
|
||||||
. "','" . addslashes($value) . "')");
|
. "','" . $phpgw_setup->db->db_addslashes($value) . "')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$phpgw_setup->db->transaction_commit();
|
$phpgw_setup->db->transaction_commit();
|
||||||
|
Loading…
Reference in New Issue
Block a user