Skip to content
Snippets Groups Projects
Commit a613c5bc authored by Alex Barth's avatar Alex Barth
Browse files

Fix use of unspecified variable.

parent 7e76a3ad
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ class FeedsImportBatch { ...@@ -42,7 +42,7 @@ class FeedsImportBatch {
feeds_include_library('http_request.inc', 'http_request'); feeds_include_library('http_request.inc', 'http_request');
$result = http_request_get($this->url); $result = http_request_get($this->url);
if ($result->code != 200) { if ($result->code != 200) {
throw new Exception(t('Download of @url failed with code !code.', array('@url' => $url, '!code' => $result->code))); throw new Exception(t('Download of @url failed with code !code.', array('@url' => $this->url, '!code' => $result->code)));
} }
$this->raw = $result->data; $this->raw = $result->data;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment