mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
Fix db query in verify_email_address
This commit is contained in:
@@ -280,7 +280,7 @@ function create_account_from_register($arr) {
|
||||
*/
|
||||
function verify_email_address(string $email): bool {
|
||||
|
||||
$reg = q("SELECT * FROM register WHERE reg_vital = 1 AND reg_email = 's%' ",
|
||||
$reg = q("SELECT * FROM register WHERE reg_vital = 1 AND reg_email = '%s' ",
|
||||
dbesc($email)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user