diff --git a/admin/pagelib.php b/admin/pagelib.php index cb02dcf8e0a..ac87f0d1dd5 100644 --- a/admin/pagelib.php +++ b/admin/pagelib.php @@ -116,7 +116,8 @@ class page_admin extends page_base { $this->init_full($section); // we're trusting that init_full() has already been called by now; it should have. // if not, print_header() has to be called with a $section parameter - if ($this->user_allowed_editing()) { + // The search page currently doesn't handle block editing + if ($this->section != 'search' and $this->user_allowed_editing()) { $buttons = '
frametarget.' method="get" action="' . $this->url_get_path() . '">'. '
'. ''.