Add missing fields to Register::getPending()

- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-470882973
This commit is contained in:
Hypolite Petovan 2019-03-08 21:57:18 -05:00
parent 60c8668aca
commit 6f07bfb772

View file

@ -25,7 +25,7 @@ class Register
public static function getPending() public static function getPending()
{ {
$stmt = DBA::p( $stmt = DBA::p(
"SELECT `register`.*, `contact`.`name`, `user`.`email` "SELECT `register`.*, `contact`.`name`, `contact`.`url`, `contact`.`micro`, `user`.`email`
FROM `register` FROM `register`
INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid` INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid`
INNER JOIN `user` ON `register`.`uid` = `user`.`uid`" INNER JOIN `user` ON `register`.`uid` = `user`.`uid`"