mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* fixed some recuring errors from db-log (mostly missing checks)
This commit is contained in:
@@ -100,6 +100,8 @@ class SearchPage extends GenericPage
|
||||
if (CFG_MAINTENANCE && !User::isInGroup(U_GROUP_EMPLOYEE) && !($this->searchMask & SEARCH_TYPE_REGULAR))
|
||||
$this->notFound();
|
||||
|
||||
parent::__construct($pageCall, $pageParam); // just to set g_user and g_locale
|
||||
|
||||
// fill include, exclude and ignore
|
||||
$this->tokenizeQuery();
|
||||
|
||||
@@ -109,8 +111,6 @@ class SearchPage extends GenericPage
|
||||
$this->mode = CACHE_TYPE_NONE;
|
||||
$this->notFound();
|
||||
}
|
||||
|
||||
parent::__construct($pageCall, $pageParam); // just to set g_user and g_locale
|
||||
}
|
||||
|
||||
private function tokenizeQuery()
|
||||
|
||||
Reference in New Issue
Block a user