修复聚合调用时的判断问题

This commit is contained in:
taoyu 2017-01-05 23:35:11 +08:00
parent 42eb5c4744
commit 8150e1a6a0

View File

@ -1227,7 +1227,7 @@ class Widget_Archive extends Widget_Abstract_Contents
*/
public function select()
{
if ($this->_feed) {
if ($this->_invokeByFeed) {
// 对feed输出加入限制条件
return parent::select()->where('table.contents.allowFeed = ?', 1)
->where('table.contents.password IS NULL');