diff --git a/module/VuFind/src/VuFind/Controller/BrowseController.php b/module/VuFind/src/VuFind/Controller/BrowseController.php index 2f7b96f9ac8e511507bc3c3d69d528cafdb6a19e..18a62b4c70ae9ea26a02126b1d31e2d6cfba136d 100644 --- a/module/VuFind/src/VuFind/Controller/BrowseController.php +++ b/module/VuFind/src/VuFind/Controller/BrowseController.php @@ -171,7 +171,7 @@ class BrowseController extends AbstractBase 'Author', 'Topic', 'Genre', 'Region', 'Era' ]; foreach ($remainingOptions as $current) { - $option = strToLower($current); + $option = strtolower($current); if (!isset($this->config->Browse->$option) || $this->config->Browse->$option == true ) { @@ -660,7 +660,7 @@ class BrowseController extends AbstractBase if ($action == null) { $action = $this->getCurrentAction(); } - switch (strToLower($action)) { + switch (strtolower($action)) { case 'alphabetical': return $this->getCategory(); case 'dewey': diff --git a/module/VuFind/src/VuFind/View/Helper/Root/Browse.php b/module/VuFind/src/VuFind/View/Helper/Root/Browse.php index 207c2a70080ba819c8d1e07353672f8ff6d9e859..29efa116caaa3c4c2d31112d09e1c2cbadc7ddb8 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/Browse.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/Browse.php @@ -50,8 +50,8 @@ class Browse extends AbstractHelper */ public function getSolrField($action, $backup = null) { - $action = strToLower($action); - $backup = strToLower($backup); + $action = strtolower($action); + $backup = strtolower($backup); switch ($action) { case 'dewey': return 'dewey-hundreds';