]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Merge pull request #9024 from annando/fix-db-error
[friendica.git] / mod / poco.php
index 41a1627271d617aa3ba75c1750309dd3e5b064f0..bfa4957f1435329255fbbc73bcf026a70bef3096 100644 (file)
@@ -128,7 +128,7 @@ function poco_init(App $a) {
                $contacts = DBA::selectToArray('owner-view', [], ['net-publish' => true], ['limit' => [$startIndex, $itemsPerPage]]);
        } else {
                Logger::log("Start query for user " . $user['nickname'], Logger::DEBUG);
-               $contacts = q("SELECT * FROM `contact` WHERE `uid` = %d AND NOT `blocked` AND NOT `pending` AND NOT `hiddden` AND NOT `archive`
+               $contacts = q("SELECT * FROM `contact` WHERE `uid` = %d AND NOT `blocked` AND NOT `pending` AND NOT `hidden` AND NOT `archive`
                        AND NOT `failed` AND NOT `unsearchable`
                        AND `network` IN ('%s', '%s', '%s', '%s') $sql_extra LIMIT %d, %d",
                        intval($user['uid']),