cvs: php-master-web /entry cvs-account.php
| From: | jim winstead | Date: | Fri, 16 Nov 2001 02:09:50 +0000 |
| Subject: | cvs: php-master-web /entry cvs-account.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-7429@lists.php.net to get a copy of this message | ||
jimw Thu Nov 15 21:09:50 2001 EDT
Modified files:
/php-master-web/entry cvs-account.php
Log:
set timestamp for note
Index: php-master-web/entry/cvs-account.php
diff -u php-master-web/entry/cvs-account.php:1.1 php-master-web/entry/cvs-account.php:1.2
--- php-master-web/entry/cvs-account.php:1.1 Fri Oct 19 20:56:27 2001
+++ php-master-web/entry/cvs-account.php Thu Nov 15 21:09:49 2001
@@ -33,8 +33,8 @@
if (@mysql_query($query)) {
$new_id = mysql_insert_id();
- mysql_query("INSERT INTO users_note (userid, note)"
- ." VALUES ($new_id, '$note')");
+ mysql_query("INSERT INTO users_note (userid, note, entered)"
+ ." VALUES ($new_id, '$note', NOW())");
$msg = stripslashes($note);