Skip to content

Commit

Permalink
fix #945
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Apr 7, 2020
1 parent 691b43b commit 5ba2f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/Widget/Archive.php
Expand Up @@ -1191,7 +1191,7 @@ private function searchHandle(Typecho_Db_Query $select, &$hasPushed)
/** 搜索无法进入隐私项保护归档 */
if ($this->user->hasLogin()) {
//~ fix issue 941
$select->where("table.contents.password IS NULL OR table.contents.password = '' OR talble.contents.authorId = ?", $this->user->uid);
$select->where("table.contents.password IS NULL OR table.contents.password = '' OR table.contents.authorId = ?", $this->user->uid);
} else {
$select->where("table.contents.password IS NULL OR table.contents.password = ''");
}
Expand Down

0 comments on commit 5ba2f03

Please sign in to comment.