From 0ac2d5a353fb8faed8b54e704119c2fc6308e34b Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 23 Feb 2002 17:19:28 +0000 Subject: [PATCH] adjust sql for new table names --- admin/inc/class.uimainscreen.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/inc/class.uimainscreen.inc.php b/admin/inc/class.uimainscreen.inc.php index 37a51e033e..feb6ce0336 100644 --- a/admin/inc/class.uimainscreen.inc.php +++ b/admin/inc/class.uimainscreen.inc.php @@ -41,9 +41,9 @@ 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__); - $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__); $message = '
'.lang('message has been updated').'
'; }