Commit 6cede1b8 authored by Ganesharatnam's avatar Ganesharatnam
Browse files

fix for @file block

parent 3b08a879
......@@ -218,7 +218,7 @@ function uw_lib_refshelf_render_data() {
*/
function _getDataORS($param, $url) {
$uri = $url . $param;
$file_headers = @get_headers($uri);
$file_headers = get_headers($uri);
if (!$file_headers || $file_headers[0] == 'HTTP/1.1 404 Not Found') {
drupal_set_message(t('<h3>URL is not available to collect the data</h3>'));
}
......
Markdown is supported
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