summaryrefslogtreecommitdiff
path: root/modules/pref-users.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-11-16 06:11:59 +0100
committerAndrew Dolgov <[email protected]>2007-11-16 06:11:59 +0100
commit54a3d3cf51ccc7e0ce838a2c982d06bca29a2bbb (patch)
treecc6cbc0d460e1ad596285c0eda97de2fc8aae772 /modules/pref-users.php
parente553f0a6d8c9d9fc0ec34314c0edb099d069ded5 (diff)
schema: add created field to ttrss_users
Diffstat (limited to 'modules/pref-users.php')
-rw-r--r--modules/pref-users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pref-users.php b/modules/pref-users.php
index fdc6d4952..ec6690a98 100644
--- a/modules/pref-users.php
+++ b/modules/pref-users.php
@@ -109,8 +109,8 @@
if (db_num_rows($result) == 0) {
db_query($link, "INSERT INTO ttrss_users
- (login,pwd_hash,access_level,last_login)
- VALUES ('$login', '$pwd_hash', 0, NOW())");
+ (login,pwd_hash,access_level,last_login,created)
+ VALUES ('$login', '$pwd_hash', 0, null, NOW())");
$result = db_query($link, "SELECT id FROM ttrss_users WHERE