forked from extern/egroupware
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