]> git.mxchange.org Git - friendica-addons.git/commitdiff
[forumdirectory] Add missing operator in SQL query
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 8 Sep 2020 00:31:24 +0000 (20:31 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 8 Sep 2020 00:31:24 +0000 (20:31 -0400)
forumdirectory/forumdirectory.php

index ce37e8e55542e23fbd28ba163fd813b71491da11..530239fd276e6ab66b95f53c8d341b6bbebaf146 100644 (file)
@@ -90,7 +90,7 @@ function forumdirectory_content(App $a)
        $total = 0;
        $cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` FROM `profile`
                                INNER JOIN `user` ON `user`.`uid` = `profile`.`uid`
-                               WHERE $publish AND NOT `user`.`blocked` AND NOT `user`.`account_removed` `user`.`page-flags` = ? $sql_extra",
+                               WHERE $publish AND NOT `user`.`blocked` AND NOT `user`.`account_removed` AND `user`.`page-flags` = ? $sql_extra",
                                User::PAGE_FLAGS_COMMUNITY);
        if (DBA::isResult($cnt)) {
                $total = $cnt['total'];