]> git.mxchange.org Git - friendica.git/blobdiff - include/Contact.php
Global is an integer, do not set it to an empty string
[friendica.git] / include / Contact.php
index 85da56a510e370af29ec17fbedf2e7163ae21de1..15b6813714f2bff59863bb98256c4c39def94956 100644 (file)
@@ -636,7 +636,7 @@ function posts_from_gcontact(App $a, $gcontact_id) {
        $r = q("SELECT `item`.`uri`, `item`.*, `item`.`id` AS `item_id`,
                        `author-name` AS `name`, `owner-avatar` AS `photo`,
                        `owner-link` AS `url`, `owner-avatar` AS `thumb`
-               FROM `item` FORCE INDEX (`gcontactid_uid_created`)
+               FROM `item`
                WHERE `gcontact-id` = %d AND $sql AND
                        NOT `deleted` AND NOT `moderated` AND `visible`
                ORDER BY `item`.`created` DESC LIMIT %d, %d",