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

Resolving VUFIND-869 (Item status returns null and statuses are not pulled from the config file)

Thanks to Brad Busenius.
parent 37cdcb4b
No related merge requests found
...@@ -130,11 +130,10 @@ class Horizon extends AbstractBase ...@@ -130,11 +130,10 @@ class Horizon extends AbstractBase
* @return array * @return array
* *
*/ */
protected function parseStatus($status) protected function parseStatus($status)
{ {
$statuses = isset($this->config['Statuses'][$item_status]) $statuses = isset($this->config['Statuses'][$status])
? $this->config['Statuses'][$item_status] : null; ? $this->config['Statuses'][$status] : null;
// query the config file for the item status if there are // query the config file for the item status if there are
// config values, use the configuration otherwise execute the switch // config values, use the configuration otherwise execute the switch
......
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