Skip to content

Commit

Permalink
Actually old event handler should use old method name
Browse files Browse the repository at this point in the history
  • Loading branch information
msakuta committed May 20, 2024
1 parent a685201 commit cab643d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function editForm(Doku_Event $event, $param){
// Pass wikitext through POSTs for previewing and saving
if(isset($_POST['editfigure__new'])) {
foreach($_POST['editfigure__new'] as $k => $v) {
$form->setHiddenField("editfigure__new[$k]", $v);
$form->addHidden("editfigure__new[$k]", $v);
}
}
}
Expand Down

0 comments on commit cab643d

Please sign in to comment.