From fa77261423aa3dabf4d0c0037b5532febe01e2a8 Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Fri, 4 Nov 2016 15:02:12 +0100 Subject: [PATCH] important bug fix --- inc/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/core.php b/inc/core.php index 0337e8c..ecdcfcc 100644 --- a/inc/core.php +++ b/inc/core.php @@ -80,7 +80,7 @@ function whatToDo($url) if(!is_array($data) || !$data['hash']) { - if((UPLOAD_FORM_LOCATION && $url==UPLOAD_FORM_LOCATION) || (!UPLOAD_FORM_LOCATION && $url==PATH)) + if((UPLOAD_FORM_LOCATION && $url==UPLOAD_FORM_LOCATION) || (!UPLOAD_FORM_LOCATION)) { $upload_answer = $pm->ProcessUploads(); if($upload_answer)