minor edits

This commit is contained in:
Visman 2018-08-28 20:18:24 +07:00
parent 234924b041
commit 39b46f4626
2 changed files with 2 additions and 1 deletions

View file

@ -159,7 +159,7 @@ class Prepare extends Method
if (! $count) {
$error = 'There is no word for search: \'%s\'';
} else if ($keyword) {
} elseif ($keyword) {
$error = 'Syntactic word at the end of the search query: \'%s\'';
} elseif (! empty($stack)) {
$error = 'The order of brackets is broken: \'%s\'';

View file

@ -233,6 +233,7 @@ return [
'PostManagerPreviousPost' => \ForkBB\Models\Post\PreviousPost::class,
'PostManagerView' => \ForkBB\Models\Post\View::class,
'PostManagerRebuildIndex' => \ForkBB\Models\Post\RebuildIndex::class,
'PostManagerUserInfoFromIP' => \ForkBB\Models\Post\UserInfoFromIP::class,
'GroupModel' => \ForkBB\Models\Group\Model::class,
'GroupManager' => \ForkBB\Models\Group\Manager::class,