1
1
Fork 0

Fix admin pending user list SQL

This commit is contained in:
Hypolite Petovan 2017-12-12 21:07:22 -05:00
parent fbf57ac98b
commit 9063c830f5

View file

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