diff options
author | thomascube <thomas@roundcube.net> | 2005-11-06 16:37:45 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2005-11-06 16:37:45 +0000 |
commit | e0ddd4e6c03d533cc3f8427624e026cc20c88fa6 (patch) | |
tree | 9bdaed87ebc57351eb9485c196ba8bec91cb3890 /program/steps/mail/addcontact.inc | |
parent | 317219dafe98b70797ef853571c255de0654d4aa (diff) |
Added 'changed' col to contacts table and support for 160-bit session hashes
Diffstat (limited to 'program/steps/mail/addcontact.inc')
-rw-r--r-- | program/steps/mail/addcontact.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc index 6ead67812..ad1544e71 100644 --- a/program/steps/mail/addcontact.inc +++ b/program/steps/mail/addcontact.inc @@ -42,8 +42,8 @@ if ($_GET['_address']) else if ($contact['mailto']) { $DB->query("INSERT INTO ".get_table_name('contacts')." - (user_id, name, email) - VALUES (?, ?, ?)", + (user_id, changed, name, email) + VALUES (?, now(), ?, ?)", $_SESSION['user_id'], $contact['name'], $contact['mailto']); |