]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Undefined variable use
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 2 Oct 2015 23:47:40 +0000 (01:47 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 2 Oct 2015 23:47:40 +0000 (01:47 +0200)
plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php

index 7d50a4502aab8be307b0181a72432c13dd63767c..798d7bc79f0a70887002bf70b2e4de35f79c2348 100644 (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());