Browse Source

Fix concat

ChillerDragon 1 year ago
parent
commit
2612644127
1 changed files with 1 additions and 1 deletions
  1. 1 1
      upload.php

+ 1 - 1
upload.php

@@ -76,7 +76,7 @@ function upload_image() {
         echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
         echo "Sorry, only JPG, JPEG, PNG & GIF files are allowed.";
         $uploadOk = 0;
         $uploadOk = 0;
     }
     }
-    dbg("file type: " + $imageFileType);
+    dbg("file type: " . $imageFileType);
 
 
     // Check if $uploadOk is set to 0 by an error
     // Check if $uploadOk is set to 0 by an error
     if ($uploadOk == 0) {
     if ($uploadOk == 0) {