From e05da10550a22fca88004b7abf8776e40cb478d2 Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Mon, 14 Apr 2025 22:55:55 -0600 Subject: [PATCH] fixed bug preventing signups --- functions/account_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/account_functions.php b/functions/account_functions.php index 86fee69..1595db4 100644 --- a/functions/account_functions.php +++ b/functions/account_functions.php @@ -25,7 +25,7 @@ function user_id_exists($user_id) function username_exists($username) { - $result = exec_stmt('SELECT username FROM user WHERE username = "?"', 'i', $username)->fetch_assoc(); + $result = exec_stmt('SELECT username FROM user WHERE username = ?', 'i', $username)->fetch_assoc(); if ($result == null) return false;