Skip to content
Snippets Groups Projects
Commit b9c8bd29 authored by Ondřej Caletka's avatar Ondřej Caletka
Browse files

[mail_notifier] Fix error in language detection logic

parent 98deb8e2
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ mail_stamp="sent_by_email"
smtp_enabled=`uci get user_notify.smtp.enable`
mail_to=`uci get user_notify.smtp.to`
mail_from=`uci get user_notify.smtp.from`
lang="$(uci get -q foris.settings.lang | echo cs)" # Auto-detect from system configuration somehow?
lang="$(uci get -q foris.settings.lang || echo cs)" # Auto-detect from system configuration somehow?
create_msmtp_config() {
local turris_smtp=`uci get user_notify.smtp.use_turris_smtp`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment