]> git.mxchange.org Git - friendica.git/commitdiff
Add INNER JOIN to admin pending user list please @annando
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 13 Dec 2017 15:32:59 +0000 (10:32 -0500)
committerGitHub <noreply@github.com>
Wed, 13 Dec 2017 15:32:59 +0000 (10:32 -0500)
mod/admin.php

index 9c03188097dccabffb891018e995fa845750a3ee..af6150460e2ef4da08eb56f3679b1d0ed07f792f 100644 (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 */