From 7480069910af2dcddc617433bf20c982255cbd98 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 23 Jan 2020 12:06:11 +0100 Subject: [PATCH] fix(filefield): php warning when editing the question Signed-off-by: Thierry Bugier --- inc/fields/filefield.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/fields/filefield.class.php b/inc/fields/filefield.class.php index 1d68dd68f..e3dd67d74 100644 --- a/inc/fields/filefield.class.php +++ b/inc/fields/filefield.class.php @@ -109,6 +109,10 @@ public static function getName() { return __('File'); } + public function prepareQuestionInputForSave($input) { + return $input; + } + public static function canRequire() { return true; }