mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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 . "'");
|
||||
if($value)
|
||||
{
|
||||
$phpgw_setup->db->query("INSERT INTO $configtbl (config_app,config_name, config_value) VALUES ('phpgwapi','" . addslashes($setting)
|
||||
. "','" . addslashes($value) . "')");
|
||||
$phpgw_setup->db->query("INSERT INTO $configtbl (config_app,config_name, config_value) VALUES ('phpgwapi','" . $phpgw_setup->db->db_addslashes($setting)
|
||||
. "','" . $phpgw_setup->db->db_addslashes($value) . "')");
|
||||
}
|
||||
}
|
||||
$phpgw_setup->db->transaction_commit();
|
||||
|
Loading…
Reference in New Issue
Block a user