1
1
Fork 0

Add INNER JOIN to admin pending user list please @annando

This commit is contained in:
Hypolite Petovan 2017-12-13 10:32:59 -05:00 committed by GitHub
parent 4d72a40aa6
commit 6362296666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 */