summaryrefslogtreecommitdiff
path: root/app/views/index/normal.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/index/normal.phtml')
-rw-r--r--app/views/index/normal.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml
index 3de94f321..aee7246d0 100644
--- a/app/views/index/normal.phtml
+++ b/app/views/index/normal.phtml
@@ -88,7 +88,7 @@ $today = @strtotime('today');
echo $first ? _t('gen.short.by_author') . ' ' : 'ยทย ';
$first = false;
?>
- <em><a href="<?= Minz_Url::display(Minz_Request::modifiedCurrentRequest(['search' => 'author:' . str_replace(' ', '+', htmlspecialchars_decode($author, ENT_QUOTES))])) ?>"><?= $author ?></a></em>
+ <em><a href="<?= Minz_Url::display(Minz_Request::modifiedCurrentRequest(['search' => 'author:"' . htmlspecialchars_decode($author, ENT_QUOTES) . '"'])) ?>"><?= $author ?></a></em>
<?php endforeach; ?>
</div><?php endif; ?>
</div>