From: Hypolite Petovan Date: Wed, 13 Dec 2017 15:32:59 +0000 (-0500) Subject: Add INNER JOIN to admin pending user list please @annando X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63622966666729ba82fef8f12484e022500ff867;p=friendica.git Add INNER JOIN to admin pending user list please @annando --- diff --git a/mod/admin.php b/mod/admin.php index 9c03188097..af6150460e 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -1594,8 +1594,8 @@ function admin_page_users(App $a) /* get pending */ $pending = q("SELECT `register`.*, `contact`.`name`, `user`.`email` FROM `register` - JOIN `contact` ON `register`.`uid` = `contact`.`uid` - JOIN `user` ON `register`.`uid` = `user`.`uid`;"); + INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid` + INNER JOIN `user` ON `register`.`uid` = `user`.`uid`;"); /* get users */