]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Group.php
Merge pull request #9882 from MrPetovan/bug/po2php-plural-conversion
[friendica.git] / src / Model / Group.php
index 0a51518324c0540dea36b598aabee39f0a6e0abe..d332af91aec3062cf55c9d986026728c31982404 100644 (file)
@@ -160,7 +160,7 @@ class Group
        public static function countUnseen()
        {
                $stmt = DBA::p("SELECT `group`.`id`, `group`.`name`,
-                               (SELECT COUNT(*) FROM `item` FORCE INDEX (`uid_unseen_contactid`)
+                               (SELECT COUNT(*) FROM `post-view`
                                        WHERE `uid` = ?
                                        AND `unseen`
                                        AND `contact-id` IN