diff --git a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php index 1603dd7bc0a0b3dfb5ae60a2fb6636529d1632c0..6c1da3c18d1fa80dae9ce168cd8ef4d53c640778 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Virtua.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Virtua.php @@ -156,7 +156,7 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa ]; switch ($result[0]['CALL_NUMBER']) { - case 'ELECTRONIC RESOURCE' : + case 'ELECTRONIC RESOURCE': $new_holding['availability'] = true; $new_holding['status'] = null; $new_holding['location'] = "Online"; @@ -164,19 +164,19 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa $holding[] = $new_holding; return $holding; break; - case 'ON ORDER' : + case 'ON ORDER': $new_holding['status'] = "ON ORDER"; $new_holding['location'] = "Pending..."; $holding[] = $new_holding; return $holding; break; - case 'ORDER CANCELLED' : + case 'ORDER CANCELLED': $new_holding['status'] = "ORDER CANCELLED"; $new_holding['location'] = "None"; $holding[] = $new_holding; return $holding; break; - case 'MISSING' : + case 'MISSING': $new_holding['status'] = "MISSING"; $new_holding['location'] = "Unknown"; $holding[] = $new_holding; @@ -719,7 +719,7 @@ class Virtua extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa $end_time = strtotime("01-" . $months[1] . "-" . $years[0]); break; // January 2000 - case "11"; + case "11": $start_string = "F Y"; $end_time = null; break; diff --git a/module/VuFind/src/VuFind/View/Helper/Root/Record.php b/module/VuFind/src/VuFind/View/Helper/Root/Record.php index c9f06735f96040dcf902bcb838dfab996dba4d0b..db7143eac4e3865ebf239b681a976133ae0780f1 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/Record.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/Record.php @@ -563,8 +563,8 @@ class Record extends AbstractHelper } switch ($context) { - case "core" : - case "results" : + case "core": + case "results": $key = 'showIn' . ucwords(strtolower($context)); break; default: