Skip to content

Commit

Permalink
Fix object name
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-csg committed Dec 5, 2024
1 parent e2da663 commit 1a6f8e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions classes/boardmanager.php
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,10 @@ public function update_card(int $cardid, array $data): void {
);
helper::update_cached_timestamp($this->board->id, constants::MOD_KANBAN_CARD, $cardupdate['timemodified']);

if ($this->board->usenumbers) {
$cardupdate['description'] = numberfilter::filter($cardupdate['description']);
if (!empty($this->kanban->usenumbers)) {
if (isset($cardupdate['description'])) {
$cardupdate['description'] = numberfilter::filter($cardupdate['description']);
}
}

$this->formatter->put('cards', $cardupdate);
Expand Down

0 comments on commit 1a6f8e5

Please sign in to comment.