Skip to content

Commit 4b04a86

Browse files
committed
Suppress another recurring connection error caused by file_get_contents
1 parent 6ef2a09 commit 4b04a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isbn/man-sru.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
echo '<table><tr><td><a href="' . $urlMAN . '" taget="_blank">See SRU Result</a></td></tr></table>';
245245
} else {
246246
$urlSWB = 'http://swb.bsz-bw.de/DB=2.1/SET=11/TTL=2/CMD?ACT=SRCHM&ACT0=SRCH&IKT0=2135&TRM0=%60180%60&ACT1=*&IKT1=1016&TRM1=' . str_replace(" ", "+", $suchStringSWB);
247-
$contentSWB = utf8_decode(file_get_contents($urlSWB));
247+
$contentSWB = utf8_decode(@file_get_contents($urlSWB));
248248
//echo $contentSWB;
249249
$nhits = substr_count($contentSWB, 'class="hit"');
250250
$ncoins = substr_count($contentSWB, 'class="Z3988"');

0 commit comments

Comments
 (0)