]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
The fetch function now centrally controls the content
[friendica.git] / include / api.php
index a5088756ae20625d8e71b0edd96af539467e5ee0..819d2c75a00c624488586eabbb02d633ad3081c8 100644 (file)
@@ -2078,7 +2078,7 @@ function api_statuses_mentions($type)
        $start = ($page - 1) * $count;
 
        $condition = ["`uid` = ? AND `verb` = ? AND `item`.`id` > ? AND `author-id` != ?
-               AND `item`.`parent` IN (SELECT `iid` FROM `thread` WHERE `uid` = ? AND `mention` AND NOT `ignored`)",
+               AND `item`.`parent` IN (SELECT `iid` FROM `thread` WHERE `thread`.`uid` = ? AND `thread`.`mention` AND NOT `thread`.`ignored`)",
                api_user(), ACTIVITY_POST, $since_id, $user_info['pid'], api_user()];
 
        if ($max_id > 0) {