important bug fix

This commit is contained in:
Christian Haschek
2016-11-04 15:02:12 +01:00
parent 165cb2f84c
commit fa77261423

View File

@@ -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)