aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
authormjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
committermjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
commita75c61d71efebf43713026200aa0f513bd7eef09 (patch)
tree909048adeaa329813e2530d43626ed3bd711bc25 /include/account.php
parent481ecee9e87342ca7a1217395085e95d1a3b61ea (diff)
parent0d0f73fb67bbfcc53058cefded85ac36f951c7a7 (diff)
downloadvolse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.gz
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.bz2
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.zip
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php
index d138dab41..98d7f00a8 100644
--- a/include/account.php
+++ b/include/account.php
@@ -48,7 +48,7 @@ function check_account_email($email) {
$result['message'] = t('The provided email address is already registered at this site');
}
- $register = q("select reg_did2 from register where reg_vital = 1 and reg_did2 = '%s' limit 1",
+ $register = q("select reg_did2 from register where reg_vital = 1 and reg_did2 = '%s' and reg_didx = 'e' limit 1",
dbesc($email)
);
if ($register) {