mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-14 12:08:01 +00:00
Fixes #1
This commit is contained in:
@@ -61,8 +61,9 @@ function whatToDo($url)
|
|||||||
{
|
{
|
||||||
if((UPLOAD_FORM_LOCATION && $url==UPLOAD_FORM_LOCATION) || (!UPLOAD_FORM_LOCATION && $url='/'))
|
if((UPLOAD_FORM_LOCATION && $url==UPLOAD_FORM_LOCATION) || (!UPLOAD_FORM_LOCATION && $url='/'))
|
||||||
{
|
{
|
||||||
if($_POST['submit']==$pm->translate(3))
|
$upload_answer = $pm->ProcessUploads();
|
||||||
$o=$pm->ProcessUploads();
|
if($_POST['submit']==$pm->translate(3) && $upload_answer)
|
||||||
|
$o=$upload_answer;
|
||||||
else
|
else
|
||||||
$o.= $pm->renderUploadForm();
|
$o.= $pm->renderUploadForm();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user