Skip to content
Snippets Groups Projects
Commit 8d5d03c6 authored by Demian Katz's avatar Demian Katz
Browse files

Cosmetic fix: no highlighting for blank browse.

parent 6c419dc8
Branches
Tags
No related merge requests found
......@@ -102,6 +102,11 @@ class AlphabrowseController extends AbstractBase
$from = $this->params()->fromQuery('from', false);
$page = intval($this->params()->fromQuery('page', 0));
// Special case: highlighting is pointless if there's no user input:
if (empty($from)) {
$highlighting = false;
}
// Set up any extra parameters to pass
$extraParams = new ParamBag();
if (isset($extras[$source])) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment