summaryrefslogtreecommitdiff
path: root/program/steps/mail/addcontact.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/mail/addcontact.inc')
-rw-r--r--program/steps/mail/addcontact.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc
index a0e1e9394..b040581aa 100644
--- a/program/steps/mail/addcontact.inc
+++ b/program/steps/mail/addcontact.inc
@@ -43,7 +43,7 @@ if (!empty($_GET['_address']))
{
$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']);