]> git.mxchange.org Git - friendica.git/blobdiff - include/onepoll.php
The CSS code for shared messages is moved from "vier" to the global.css, so that...
[friendica.git] / include / onepoll.php
index 2a7815fa52372566725340aa221d5a2a961c810c..49047118a4b20c3fe96b3a255518657cd0c85de2 100644 (file)
@@ -112,7 +112,7 @@ function onepoll_run(&$argv, &$argc){
 
        $importer_uid = $contact['uid'];
 
-       $r = q("SELECT `contact`.*, `user`.`page-flags` FROM `contact` LEFT JOIN `user` on `contact`.`uid` = `user`.`uid` WHERE `user`.`uid` = %d AND `contact`.`self` = 1 LIMIT 1",
+       $r = q("SELECT `contact`.*, `user`.`page-flags` FROM `contact` INNER JOIN `user` on `contact`.`uid` = `user`.`uid` WHERE `user`.`uid` = %d AND `contact`.`self` = 1 LIMIT 1",
                intval($importer_uid)
        );
        if(! count($r))