From 33bd4e9714885548942db7f60b9bd164eff18500 Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 18 Sep 2001 03:46:28 +0000 Subject: [PATCH] Changed the addslashes to db_addslashes. --- setup/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/config.php b/setup/config.php index f8e65346a4..86dee41ee6 100644 --- a/setup/config.php +++ b/setup/config.php @@ -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();