liquid_feedback_frontend
changeset 1268:134c9bbbc4ab
Fixes on notification system
author | bsw |
---|---|
date | Sun Apr 17 17:16:51 2016 +0200 (2016-04-17) |
parents | 547b10c25691 |
children | 5f20831f0ab6 |
files | app/main/member/_action/update_notify_level.lua app/main/member/settings_notification.lua |
line diff
1.1 --- a/app/main/member/_action/update_notify_level.lua Sun Apr 17 17:14:49 2016 +0200 1.2 +++ b/app/main/member/_action/update_notify_level.lua Sun Apr 17 17:16:51 2016 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 app.session.member.disable_notifications = disable_notifications 1.5 end 1.6 1.7 -if param.get("digest", atom.boolean) then 1.8 +if param.get("digest") == "true" then 1.9 local dow = param.get("digest_dow") 1.10 if dow == "daily" then 1.11 app.session.member.notification_dow = nil
2.1 --- a/app/main/member/settings_notification.lua Sun Apr 17 17:14:49 2016 +0200 2.2 +++ b/app/main/member/settings_notification.lua Sun Apr 17 17:16:51 2016 +0200 2.3 @@ -102,7 +102,7 @@ 2.4 name = "notification_hour", 2.5 foreign_records = foreign_records, 2.6 foreign_id = "id", 2.7 - foreign_name = "name" 2.8 + foreign_name = "name", 2.9 } 2.10 end } 2.11