リビジョン | 17a96ad228f953a36a1d757354b61bb46bbe63b6 (tree) |
---|---|
日時 | 2018-12-31 14:54:58 |
作者 | umorigu <umorigu@gmai...> |
コミッター | umorigu |
BugTrack/2198 Check FrontPage readable when plugin return empty body
This patch was provided Shimashima-san.
@@ -90,6 +90,7 @@ if (isset($retvars['body']) && $retvars['body'] != '') { | ||
90 | 90 | $body = & $retvars['body']; |
91 | 91 | } else { |
92 | 92 | if ($base == '' || ! is_page($base)) { |
93 | + check_readable($defaultpage, true, true); | |
93 | 94 | $base = & $defaultpage; |
94 | 95 | $title = htmlsc(strip_bracket($base)); |
95 | 96 | $page = make_search($base); |