Undefined variable use

This commit is contained in:
Mikael Nordfeldth 2015-10-03 01:47:40 +02:00
parent 0c6fe78a73
commit ae73baf4ee

View File

@ -76,7 +76,7 @@ class StoreRemoteMediaPlugin extends Plugin
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
$imgData = HTTPClient::quickGet($file->getUrl());