Skip to content

Commit 5dc66a5

Browse files
committed
fix(form): image upload handling in header field
1 parent 28f4dd6 commit 5dc66a5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

inc/form.class.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,15 @@ public function post_addItem() {
11261126
* @return void
11271127
*/
11281128
public function post_updateItem($history = 1) {
1129+
$this->input = $this->addFiles(
1130+
$this->input,
1131+
[
1132+
'force_update' => true,
1133+
'content_field' => 'content',
1134+
'name' => 'content',
1135+
]
1136+
);
1137+
11291138
$this->updateValidators();
11301139
$this->updateConditions($this->input);
11311140

0 commit comments

Comments
 (0)