summaryrefslogtreecommitdiff
path: root/www/functions/func_register.php
diff options
context:
space:
mode:
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 026ac3b..be8c197 100755
--- a/www/functions/func_register.php
+++ b/www/functions/func_register.php
@@ -65,7 +65,7 @@ function register($db){
COMMIT;")
){
- $userid = user($db, $safe_name);
+ $userid = user_id($db, $safe_name);
$_SESSION["login"] = true;
$_SESSION["username"] = $name;