Commit ae73baf4 authored by mmn's avatar mmn

Undefined variable use

parent 0c6fe78a
...@@ -76,7 +76,7 @@ class StoreRemoteMediaPlugin extends Plugin ...@@ -76,7 +76,7 @@ class StoreRemoteMediaPlugin extends Plugin
return true; return true;
} }
$this->checkWhitelist($url); $this->checkWhitelist($file->getUrl());
// First we download the file to memory and test whether it's actually an image file // First we download the file to memory and test whether it's actually an image file
$imgData = HTTPClient::quickGet($file->getUrl()); $imgData = HTTPClient::quickGet($file->getUrl());
......
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