diff --git a/module/VuFind/src/VuFind/ILS/Logic/Holds.php b/module/VuFind/src/VuFind/ILS/Logic/Holds.php index ac1875751d7..a6b34eb5ce3 100644 --- a/module/VuFind/src/VuFind/ILS/Logic/Holds.php +++ b/module/VuFind/src/VuFind/ILS/Logic/Holds.php @@ -539,7 +539,13 @@ protected function getRequestDetails($details, $HMACKeys, $action) foreach ($details as $key => $param) { $needle = in_array($key, $HMACKeys); if ($needle) { - $queryString[] = $key . "=" . urlencode($param); + // This record in00001878034 fails here with a null + // dch + if (is_null($param)) { + $queryString[] = $key . "="; + } else { + $queryString[] = $key . "=" . urlencode($param); + } } }