mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
adjust sql for new table names
This commit is contained in:
parent
54e00b04d6
commit
0ac2d5a353
@ -41,9 +41,9 @@
|
|||||||
|
|
||||||
if ($GLOBALS['HTTP_POST_VARS']['submit'])
|
if ($GLOBALS['HTTP_POST_VARS']['submit'])
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->db->query("DELETE FROM lang WHERE message_id='$section" . "_message' AND app_name='"
|
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_lang WHERE message_id='$section" . "_message' AND app_name='"
|
||||||
. "$section' AND lang='$select_lang'",__LINE__,__FILE__);
|
. "$section' AND lang='$select_lang'",__LINE__,__FILE__);
|
||||||
$GLOBALS['phpgw']->db->query("INSERT INTO lang VALUES ('$section" . "_message','$section','$select_lang','"
|
$GLOBALS['phpgw']->db->query("INSERT INTO phpgw_lang VALUES ('$section" . "_message','$section','$select_lang','"
|
||||||
. addslashes($message) . "')",__LINE__,__FILE__);
|
. addslashes($message) . "')",__LINE__,__FILE__);
|
||||||
$message = '<center>'.lang('message has been updated').'</center>';
|
$message = '<center>'.lang('message has been updated').'</center>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user