Quiz: Fix regression in hotspot image upload introduced in d8fdd1f410

pull/3173/head
Yannick Warnier 7 years ago
parent 5d93178924
commit 23bad83a74
  1. 2
      main/exercise/hotspot.class.php

@ -81,7 +81,7 @@ class HotSpot extends Question
parent::processCreation($form, $exercise);
if (!empty($fileInfo['tmp_name'])) {
$result = $this->uploadPicture($fileInfo);
$result = $this->uploadPicture($fileInfo['tmp_name']);
if ($result) {
$this->save($exercise);

Loading…
Cancel
Save