Skip to content

Commit

Permalink
fix(filefield): php warning when editing the question
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 23, 2020
1 parent e551e64 commit 7480069
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions inc/fields/filefield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ public static function getName() {
return __('File');
}

public function prepareQuestionInputForSave($input) {
return $input;
}

public static function canRequire() {
return true;
}
Expand Down

0 comments on commit 7480069

Please sign in to comment.