diff options
Diffstat (limited to 'lib/models/OERHostOERSI.php')
| -rw-r--r-- | lib/models/OERHostOERSI.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/OERHostOERSI.php b/lib/models/OERHostOERSI.php index 24d3251..cece8ba 100644 --- a/lib/models/OERHostOERSI.php +++ b/lib/models/OERHostOERSI.php @@ -2,7 +2,6 @@ class OERHostOERSI extends OERHost { - /** * Executes a search request on the host. * @param string|null $text : the search string @@ -28,7 +27,7 @@ class OERHostOERSI extends OERHost $output = curl_exec($cr); $error = curl_error($cr); if ($error) { - $error_number = curl_getinfo($cr, CURLINFO_HTTP_CODE); + $error_number = curl_getinfo($cr, CURLINFO_HTTP_CODE); error_log('OERSI search is not working. '.$error_number.': '.$error); } curl_close($cr); |
