Calls to db_addslashes for portability.

This commit is contained in:
mdean 2001-09-17 00:54:52 +00:00
parent 566b3920af
commit b2f9d0c668

View File

@ -94,11 +94,11 @@
{ {
$addit = False; $addit = False;
list($message_id,$app_name,$phpgw_setup->db_lang,$content) = explode("\t",$line); list($message_id,$app_name,$phpgw_setup->db_lang,$content) = explode("\t",$line);
$message_id = addslashes(chop($message_id)); $message_id = $phpgw_setup->db->db_addslashes(chop($message_id));
//echo '<br>APPNAME:' . $app_name . ' PHRASE:' . $message_id; //echo '<br>APPNAME:' . $app_name . ' PHRASE:' . $message_id;
$app_name = addslashes(chop($app_name)); $app_name = $phpgw_setup->db->db_addslashes(chop($app_name));
$phpgw_setup->db_lang = addslashes(chop($phpgw_setup->db_lang)); $phpgw_setup->db_lang = $phpgw_setup->db->db_addslashes(chop($phpgw_setup->db_lang));
$content = addslashes(chop($content)); $content = $phpgw_setup->db->db_addslashes(chop($content));
if ($upgrademethod == 'addmissing') if ($upgrademethod == 'addmissing')
{ {
//echo '<br>Test: addmissing'; //echo '<br>Test: addmissing';