mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Calls to db_addslashes for portability.
This commit is contained in:
parent
566b3920af
commit
b2f9d0c668
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user