We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ae73baf4 authored by mattl's avatar mattl

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