diff options
| author | root | 2014-04-28 10:12:33 +0200 |
|---|---|---|
| committer | root | 2014-04-28 10:12:33 +0200 |
| commit | d0857bc2803f3c223d7331c8770aedcbc4b310a2 (patch) | |
| tree | b32c74abc12e30ce0176ec9ee5c19d8e1e0089b5 /www/functions | |
| parent | 11ed3a4c720d9379beaf7f5770f297677da5d9a7 (diff) | |
| download | files.iamfabulous.de-d0857bc2803f3c223d7331c8770aedcbc4b310a2.tar.gz | |
Unimportant changes #1
Diffstat (limited to 'www/functions')
| -rwxr-xr-x | www/functions/func_register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_register.php b/www/functions/func_register.php index b848866..1ad4cd5 100755 --- a/www/functions/func_register.php +++ b/www/functions/func_register.php @@ -61,7 +61,7 @@ function register($db){ BEGIN TRANSACTION; UPDATE user SET name='" . $safe_name . "', password='" . $hash_password . "', invites=5, status=1, register=(SELECT strftime('%s', 'now')), color_folder='DEFAULT', color_file='DEFAULT' WHERE id=" . $id . "; INSERT INTO files (id, parent, owner, name, folder, mime, size, share, size, hash) VALUES (NULL, 0, $id, '/', 'DIRECTORY', NULL, NULL, 'PUBLIC', 0, ''); - INSERT INTO log (id, user, login) VALUES (NULL, (SELECT id FROM user WHERE name='" . $safe_name. "'), (SELECT strftime('%s', 'now')); + INSERT INTO log (id, user, login) VALUES (NULL, (SELECT id FROM user WHERE name='" . $safe_name. "'), (SELECT strftime('%s', 'now'))); COMMIT;") ){ |
