From e901f948f25db35a2639130a4d95df34dba58db2 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Tue, 21 Nov 2006 07:34:28 -0500 Subject: [PATCH] Updated Russian localization --- program/steps/mail/addcontact.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc index b1129ec..b040581 100644 --- a/program/steps/mail/addcontact.inc +++ b/program/steps/mail/addcontact.inc @@ -21,9 +21,9 @@ $REMOTE_REQUEST = TRUE; -if ($_GET['_address']) +if (!empty($_GET['_address'])) { - $contact_arr = $IMAP->decode_address_list($_GET['_address']); + $contact_arr = $IMAP->decode_address_list(get_input_value('_address', RCUBE_INPUT_GET, TRUE)); if (sizeof($contact_arr)) { $contact = $contact_arr[1]; @@ -43,7 +43,7 @@ { $DB->query("INSERT INTO ".get_table_name('contacts')." (user_id, changed, del, name, email) - VALUES (?, now(), 0, ?, ?)", + VALUES (?, ".$DB->now().", 0, ?, ?)", $_SESSION['user_id'], $contact['name'], $contact['mailto']); -- Gitblit v1.9.1