diff --git a/module/VuFind/src/VuFind/Controller/BrowseController.php b/module/VuFind/src/VuFind/Controller/BrowseController.php index 4b0e3fec727036e0383e5a734a4452ed2c8850f2..31fa42b72c76333d4b83292c840cc048233d7556 100644 --- a/module/VuFind/src/VuFind/Controller/BrowseController.php +++ b/module/VuFind/src/VuFind/Controller/BrowseController.php @@ -583,7 +583,8 @@ class BrowseController extends AbstractBase if (isset($result[$facet])) { // Sort facets alphabetically if configured to do so: if (isset($this->config->Browse->alphabetical_order) - && $this->config->Browse->alphabetical_order) { + && $this->config->Browse->alphabetical_order + ) { if (isset($this->config->Site->locale)) { setlocale(LC_ALL, $this->config->Site->locale . ".utf8"); $callback = function ($a, $b) {