aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r--interface/js/app/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index e542667a6..927501248 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -33,7 +33,7 @@ define(["jquery"],
// @upload text
function uploadText(rspamd, data, source, headers) {
- var url;
+ var url = null;
if (source === "spam") {
url = "learnspam";
} else if (source === "ham") {