Fixed empty search queries in mass tag
This commit is contained in:
parent
f32c045349
commit
8d5b82287a
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ class TagController
|
|||
if (InputHelper::get('submit'))
|
||||
{
|
||||
$suppliedQuery = InputHelper::get('query');
|
||||
if (!$suppliedQuery)
|
||||
$suppliedQuery = ' ';
|
||||
$suppliedTag = InputHelper::get('tag');
|
||||
$suppliedTag = Model_Tag::validateTag($suppliedTag);
|
||||
\Chibi\UrlHelper::forward(\Chibi\UrlHelper::route('post', 'list', ['source' => 'mass-tag', 'query' => urlencode($suppliedQuery), 'additionalInfo' => $suppliedTag]));
|
||||
|
|
Loading…
Reference in a new issue