Skip to content

Commit

Permalink
Fix Leerzeichen
Browse files Browse the repository at this point in the history
  • Loading branch information
zuphilip committed Jan 5, 2025
1 parent 97f1a39 commit fbe170b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions isbn/alma-sru.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
$suchString = 'dc.id=' . $ppn;
}
if (isset($_GET['bibliothek'])) {
$file = file_get_contents('./srulibraries.json');
$file = file_get_contents('./srulibraries.json');
$json = json_decode($file, true);
$urlBase = $json[$_GET['bibliothek']]['sru'];
} else {
Expand Down Expand Up @@ -191,11 +191,11 @@
$collection = $node->xpath('./subfield[@code="m"]');
if ($collection) {
$collectionValue = getValues($collection[0]);
$availability = $node->xpath('./subfield[@code="e"]');
if ($availability and getValues($availability[0]) != "Available") {
$collectionValue .= " [" . getValues($availability[0]) . "]";
}
$collections[] = $collectionValue;
$availability = $node->xpath('./subfield[@code="e"]');
if ($availability and getValues($availability[0]) != "Available") {
$collectionValue .= " [" . getValues($availability[0]) . "]";
}
$collections[] = $collectionValue;
}
}
echo "</table>\n";
Expand Down Expand Up @@ -229,11 +229,11 @@
$collection = $node->xpath('./subfield[@code="m"]');
if ($collection) {
$collectionValue = getValues($collection[0]);
$availability = $node->xpath('./subfield[@code="e"]');
if ($availability and getValues($availability[0]) != "Available") {
$collectionValue .= " [" . getValues($availability[0]) . "]";
}
$collections[] = $collectionValue;
$availability = $node->xpath('./subfield[@code="e"]');
if ($availability and getValues($availability[0]) != "Available") {
$collectionValue .= " [" . getValues($availability[0]) . "]";
}
$collections[] = $collectionValue;
}
}
echo "</table>\n";
Expand Down

0 comments on commit fbe170b

Please sign in to comment.