From 0139ef11cea29cfa390503109545a8830b5b2887 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Tue, 15 Sep 2020 16:43:12 +0200 Subject: [PATCH] Upload problems --- admin/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/upload.php b/admin/upload.php index c406481..1f1c645 100644 --- a/admin/upload.php +++ b/admin/upload.php @@ -53,6 +53,6 @@ if ($uploadOk == 0) { header("Location: prikazi.php?slika=$hashed_name"); exit(); } else { - echo "Sorry, there was an error uploading your file. " + $_FILES["fileToUpload"]["error"]; + echo "Sorry, there was an error uploading your file. " . $_FILES["fileToUpload"]["error"]; } }