Index: trunk/extensions/AbuseFilter/ApiQueryAbuseLog.php |
— | — | @@ -73,7 +73,8 @@ |
74 | 74 | if($fld_filter) { |
75 | 75 | $this->addTables('abuse_filter'); |
76 | 76 | $this->addFields('af_public_comments'); |
77 | | - $this->addWhere('afl_filter=af_id'); |
| 77 | + $this->addJoinConds(array('abuse_filter' => array('LEFT JOIN', |
| 78 | + 'af_id=afl_filter'))); |
78 | 79 | } |
79 | 80 | |
80 | 81 | $this->addOption('LIMIT', $params['limit'] + 1); |