Simple forum software for building great communities.
Go to file
Alexander Skvortsov c749abab21 BasicsPage: fix "show language selector" default
Since some boolean settings might be stored as string "0" or "1", the previous system no longer works, and it always sets the switch to true. The "no setting" check has been changed to reference `undefined`, so now the switch will only be defaulted to `true` if the setting truly hasn't been set.

Fixes https://github.com/flarum/core/issues/2574
2021-01-27 00:03:30 -05:00
framework/core BasicsPage: fix "show language selector" default 2021-01-27 00:03:30 -05:00