The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Avoid notice.

parent a3097a08
No related merge requests found
......@@ -205,12 +205,9 @@ class TitleHolds
$checkHolds = $this->catalog->checkFunction(
'Holds', compact('id', 'patron')
);
$data = [
'id' => $id,
'level' => 'title'
];
if ($checkHolds != false) {
if (isset($checkHolds['HMACKeys'])) {
$data = ['id' => $id, 'level' => 'title'];
$result = $this->catalog->checkRequestIsValid($id, $data, $patron);
if ((is_array($result) && $result['valid'])
|| (is_bool($result) && $result)
......
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