Révision 2c8c2b87
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/feeds/libraries/http_request.inc | ||
---|---|---|
54 | 54 |
// @see http_request_get. |
55 | 55 |
$downloaded_string = $download->data; |
56 | 56 |
// If this happens to be a feed then just return the url. |
57 |
if (http_request_is_feed($download->headers['content-type'], $downloaded_string)) { |
|
57 |
if (isset($download->headers['content-type']) && http_request_is_feed($download->headers['content-type'], $downloaded_string)) {
|
|
58 | 58 |
return $url; |
59 | 59 |
} |
60 | 60 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules