diff --git a/Classes/Lib/Dbis.php b/Classes/Lib/Dbis.php index 6254c14..e1ee636 100755 --- a/Classes/Lib/Dbis.php +++ b/Classes/Lib/Dbis.php @@ -782,13 +782,6 @@ private function setRequest($url, $params = []) $request->setUrl($url); $request->setQuery(['bib_id' => $this->bibID, 'xmloutput' => 1 ]); - //set empty valus as NULL for Guzzle - //foreach ($params as $key => $value) { - // if (empty($value)) { - // $params[$key] = null; - // } - //} - if (!empty($params)) { $request->setQuery($params); } diff --git a/Classes/Lib/Ezb.php b/Classes/Lib/Ezb.php index 09f9b47..0fc0ead 100755 --- a/Classes/Lib/Ezb.php +++ b/Classes/Lib/Ezb.php @@ -837,13 +837,6 @@ private function setRequest($url, $params = []) $request->setUrl($url); $request->setQuery(['bibid' => $this->bibID, 'xmloutput' => 1 ]); - //set empty valus as NULL for Guzzle - //foreach ($params as $key => $value) { - // if (empty($value)) { - // $params[$key] = null; - // } - //} - if (!empty($params)) { $request->setQuery($params); }