Skip to content

Commit

Permalink
Fix inplace editing
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Feb 21, 2024
1 parent 534c726 commit ef852d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function kanban_inplace_editable($itemtype, $itemid, $newvalue) {
$boardmanager->update_column($itemid, ['title' => $newvalue]);
}

return new \core\output\inplace_editable('mod_kanban', $itemtype, $itemid, true, $newvalue, $newvalue, null, '');
return new \core\output\inplace_editable('mod_kanban', $itemtype, $itemid, true, s($newvalue), s($newvalue), null, '');
}

/**
Expand Down

0 comments on commit ef852d4

Please sign in to comment.