From 08e945b89d649759f40916877f40044657314d9a Mon Sep 17 00:00:00 2001 From: root Date: Fri, 21 Mar 2014 11:56:08 +0100 Subject: If you are loged in, now you can download your files. --- www/functions/func_register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/functions/func_register.php') 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]; -- cgit v1.2.3