Merge pull request #525 from ty666/master

修复聚合调用时的判断问题
This commit is contained in:
joyqi 2017-01-06 11:04:27 +08:00 committed by GitHub
commit 134a300861

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');