Permalink
Browse files

Merge pull request #525 from ty666/master

修复聚合调用时的判断问题
2 parents 42eb5c4 + 8150e1a commit 134a300861ee14d9f373c1eb48ab35b682208122 @joyqi joyqi committed on GitHub Jan 6, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 var/Widget/Archive.php
@@ -1227,7 +1227,7 @@ private function searchHandle(Typecho_Db_Query $select, &$hasPushed)
*/
public function select()
{
- if ($this->_feed) {
+ if ($this->_invokeByFeed) {
// 对feed输出加入限制条件
return parent::select()->where('table.contents.allowFeed = ?', 1)
->where('table.contents.password IS NULL');

0 comments on commit 134a300

Please sign in to comment.