diff options
| author | moehm | 2014-04-28 11:12:43 +0200 |
|---|---|---|
| committer | moehm | 2014-04-28 11:12:43 +0200 |
| commit | 760c31261d5c045c8e22461c3c3815e3cdd74a8b (patch) | |
| tree | 88c7fd5b66f2726e840d2f028eaa55ba28975bc8 /www/functions | |
| parent | 7c1299521f31d6eb733e29455ccad8c92cbc0a7b (diff) | |
| parent | d0857bc2803f3c223d7331c8770aedcbc4b310a2 (diff) | |
| download | files.iamfabulous.de-760c31261d5c045c8e22461c3c3815e3cdd74a8b.tar.gz | |
Merge branch 'master' of git.iamfabulous.de:files.iamfabulous.de
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 cc2b8a3..5c65742 100755 --- a/www/functions/func_register.php +++ b/www/functions/func_register.php @@ -67,7 +67,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;") ){ |
