Skip to content

Commit 7480069

Browse files
committed
fix(filefield): php warning when editing the question
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent e551e64 commit 7480069

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inc/fields/filefield.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ public static function getName() {
109109
return __('File');
110110
}
111111

112+
public function prepareQuestionInputForSave($input) {
113+
return $input;
114+
}
115+
112116
public static function canRequire() {
113117
return true;
114118
}

0 commit comments

Comments
 (0)