liquid_feedback_frontend

changeset 1253:235a36a08da1

Fixed cases where no use_term_checkboxes are defined in config
author bsw
date Sun Apr 17 16:06:18 2016 +0200 (2016-04-17)
parents 659e3eda2fad
children 55132e0324a4
files app/main/_prefork/10_init.lua
line diff
     1.1 --- a/app/main/_prefork/10_init.lua	Sun Apr 17 16:02:26 2016 +0200
     1.2 +++ b/app/main/_prefork/10_init.lua	Sun Apr 17 16:06:18 2016 +0200
     1.3 @@ -21,6 +21,10 @@
     1.4    config.password_hash_max_rounds = 20000
     1.5  end
     1.6  
     1.7 +if config.use_terms_checkboxes == nil then
     1.8 +  config.use_terms_checkboxes = {}
     1.9 +end
    1.10 +
    1.11  if config.enabled_languages == nil then
    1.12    config.enabled_languages = { 'en', 'de', 'ka' } --, 'eo', 'el', 'hu', 'it', 'nl', 'zh-Hans', 'zh-TW' }
    1.13  end

Impressum / About Us