MDL-12752 making unsupported pages truly hidden

This commit is contained in:
skodak
2007-12-29 16:35:59 +00:00
parent 1a30e1bc5c
commit f62b5930a7
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -4181,7 +4181,8 @@ function admin_search_settings_html($query) {
foreach ($findings as $found) {
$page = $found->page;
$settings = $found->settings;
if ($page->hidden) {
if ($page->is_hidden()) {
// hidden pages are not displayed in search results
continue;
}
if (is_a($page, 'admin_externalpage')) {