From 7ae38e9ef6e630a539844a72a1306045584b6e6c Mon Sep 17 00:00:00 2001 From: shish Date: Wed, 2 Jan 2008 23:45:00 +0000 Subject: [PATCH] check for javascript returning null git-svn-id: file:///home/shish/svn/shimmie2/trunk@684 7f39781d-f577-437e-ae19-be835c7a54ca --- 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 4233f4a5..36dc9b82 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -47,7 +47,7 @@ class Upload extends Extension { if($this->can_upload($user)) { $url = $_GET['url']; $tags = array('tagme'); - if(!empty($_GET['tags'])) { + if(!empty($_GET['tags']) && $_GET['tags'] != "null") { $tags = tag_explode($_GET['tags']); } $ok = $this->try_transload($url, $tags, $url);