diff options
Diffstat (limited to 'www/functions/func_register.php')
| -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 be8c197..b87d81f 100755 --- a/www/functions/func_register.php +++ b/www/functions/func_register.php @@ -22,7 +22,7 @@ function register($db){ /*Checks the validation of the registration attempt*/ $test_db = $db->query("SELECT 1,key,status FROM user WHERE email='" . $safe_email . "';"); - $test_ar = $test_status_db->fetchArray(SQLITE3_NUM); + $test_ar = $test_db->fetchArray(SQLITE3_NUM); $test_email = $test_ar[0]; $test_key = $test_ar[1]; $test_status_int = $test_ar[2]; |
