Skip to content

Commit 23bad83

Browse files
committed
Quiz: Fix regression in hotspot image upload introduced in d8fdd1f
1 parent 5d93178 commit 23bad83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/exercise/hotspot.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function processCreation($form, $exercise)
8181
parent::processCreation($form, $exercise);
8282

8383
if (!empty($fileInfo['tmp_name'])) {
84-
$result = $this->uploadPicture($fileInfo);
84+
$result = $this->uploadPicture($fileInfo['tmp_name']);
8585
if ($result) {
8686
$this->save($exercise);
8787

0 commit comments

Comments
 (0)