From 9063c830f5415cc99378ad91c03d6039079381a0 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 12 Dec 2017 21:07:22 -0500 Subject: [PATCH] Fix admin pending user list SQL --- mod/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/admin.php b/mod/admin.php index 321e7b6172..c24474089a 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1587,8 +1587,8 @@ function admin_page_users(App $a) /* get pending */ $pending = q("SELECT `register`.*, `contact`.`name`, `user`.`email` FROM `register` - LEFT JOIN `contact` ON `register`.`uid` = `contact`.`uid` - LEFT JOIN `user` ON `register`.`uid` = `user`.`uid`;"); + JOIN `contact` ON `register`.`uid` = `contact`.`uid` + JOIN `user` ON `register`.`uid` = `user`.`uid`;"); /* get users */ -- 2.39.5