From ae73baf4ee524bfea97a3c43c61b5fea92df0f7f Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 3 Oct 2015 01:47:40 +0200 Subject: [PATCH] Undefined variable use --- plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php b/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php index 7d50a4502a..798d7bc79f 100644 --- a/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php +++ b/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php @@ -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()); -- 2.39.5