Merge pull request #308 from HungryFeline/patch-2

Look for the source in _GET and not in _POST when uploading via _GET
This commit is contained in:
Shish 2013-07-02 05:34:56 -07:00
commit 912b0b40d9

View File

@ -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']);