fix: Make image upload actually work
This commit is contained in:
parent
dbeebd1b55
commit
8664416acc
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class Post extends Page
|
|||
}
|
||||
|
||||
if ($_POST['screenshot_type'] !== "null") {
|
||||
$screenshot = Upload::uploadImage($_FILES['screenshot']["tmp_name"]);
|
||||
$screenshot = Upload::uploadImage($_FILES['screenshot']);
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue