liquid_feedback_frontend
changeset 1290:7f81a32c3e86
Another case for random notification hour
author | bsw |
---|---|
date | Mon Apr 18 10:38:58 2016 +0200 (2016-04-18) |
parents | 0722ce4a403a |
children | 32d5195a7152 |
files | app/main/member/settings_notification.lua |
line diff
1.1 --- a/app/main/member/settings_notification.lua Mon Apr 18 10:04:52 2016 +0200 1.2 +++ b/app/main/member/settings_notification.lua Mon Apr 18 10:38:58 2016 +0200 1.3 @@ -104,7 +104,7 @@ 1.4 } 1.5 end 1.6 local random_hour 1.7 - if app.session.member.disable_notifications then 1.8 + if app.session.member.disable_notifications or app.session.member.notification_hour == nil then 1.9 random_hour = multirand.integer(0,23) 1.10 end 1.11 ui.field.select{