mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
修复聚合调用时的判断问题
This commit is contained in:
parent
42eb5c4744
commit
8150e1a6a0
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user