We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 44702f32 authored by Jørgen Bøhnsdalen's avatar Jørgen Bøhnsdalen

Fix stupid mistake

parent d1348fa4
......@@ -113,13 +113,14 @@ if(isset($_POST['register'])) {
if(empty($errors)) {
// Create the user
$sql = 'INSERT INTO Users (username, password, email, fullname, bio, location, active) VALUES ('
$sql = 'INSERT INTO Users (username, password, email, fullname, bio, location, created, active) VALUES ('
. $adodb->qstr($username) . ', '
. $adodb->qstr(md5($password)) . ', '
. $adodb->qstr($email) . ', '
. $adodb->qstr($fullname) . ', '
. $adodb->qstr($bio) . ', '
. $adodb->qstr($location) . ', 0)';
. $adodb->qstr($location) . ', '
. time() . ', 0)';
try {
$insert = $adodb->Execute($sql);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment