MantisBT: master-2.28 8fc74f44

Author Committer Branch Timestamp Parent
dregad dregad master-2.28 2026-04-11 15:55 master-2.28 16511e69
Affected Issues  0037019: User's chosen font overwritten when saving preferences
Changeset

Don't overwrite stored font when updating user prefs

If the user's chosen font is no longer part of the list of available
fonts, we should not overwrite the value when updating user preferences
without a conscious user action.

Currently, the font is silently changed to the first entry in the
selection list.

Adding the current font to the selection list if it's not part of it
prevents this unwanted behavior.

Fixes 0037019

mod - core/print_api.php Diff File