summaryrefslogtreecommitdiff
path: root/www/functions/func_register.php
diff options
context:
space:
mode:
authorHorus32014-03-16 22:42:35 +0100
committerHorus32014-03-16 22:42:35 +0100
commit7a3dc37a2316e920299f2d56a04da619e8c6433a (patch)
tree3a6ac8457efb26017362f4d7a433ef5fdbd42eaa /www/functions/func_register.php
parent1e526e476e75c936b4229914d63b7ef91aa4a790 (diff)
downloadfiles.iamfabulous.de-7a3dc37a2316e920299f2d56a04da619e8c6433a.tar.gz
Redesigned the way of showing content.
Diffstat (limited to 'www/functions/func_register.php')
-rwxr-xr-xwww/functions/func_register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/functions/func_register.php b/www/functions/func_register.php
index bb2a02c..026ac3b 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 datetime()) 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 datetime()));
+ INSERT INTO log (id, user, login) VALUES (NULL, (SELECT id FROM user WHERE name='" . $safe_name. "'), (SELECT datetime()));
COMMIT;")
){