From 71117cf8fa45fd1791d87981f1840f5425fb54df Mon Sep 17 00:00:00 2001 From: HungryFeline Date: Tue, 2 Jul 2013 04:35:18 +0200 Subject: [PATCH] Look for the source in _GET and not in _POST when uploading via _GET --- ext/upload/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 657b9d5c..9c92cb19 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -193,7 +193,7 @@ class Upload extends Extension { } else if(!empty($_GET['url'])) { $url = $_GET['url']; - $source = isset($_POST['source']) ? $_POST['source'] : $url; + $source = isset($_GET['source']) ? $_GET['source'] : $url; $tags = array('tagme'); if(!empty($_GET['tags']) && $_GET['tags'] != "null") { $tags = Tag::explode($_GET['tags']);