Skip to content

Commit

Permalink
Fix error logging board edits
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Eshom <[email protected]>
  • Loading branch information
Oldiesmann committed Nov 26, 2023
1 parent 88ef4a0 commit 0f1e54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Board.php
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,7 @@ public static function modify(int $board_id, array &$boardOptions): void

// Log the changes unless told otherwise.
if (empty($boardOptions['dont_log'])) {
Logging::logAction('edit_board', ['board' => $this->id], 'admin');
Logging::logAction('edit_board', ['board' => $board->id], 'admin');
}
}

Expand Down

0 comments on commit 0f1e54d

Please sign in to comment.