liquid_feedback_frontend

changeset 1358:06675c87f45f

Fixed wrong argument order in by_pk call
author bsw
date Mon Aug 06 13:42:37 2018 +0200 (2018-08-06)
parents 3b6575d156bc
children 7532831a7618
files app/main/registration_admin/_action/update_verification.lua
line diff
     1.1 --- a/app/main/registration_admin/_action/update_verification.lua	Mon Aug 06 13:39:56 2018 +0200
     1.2 +++ b/app/main/registration_admin/_action/update_verification.lua	Mon Aug 06 13:42:37 2018 +0200
     1.3 @@ -13,7 +13,7 @@
     1.4      elseif field.name == "unit" then
     1.5        value = string.gsub(value, "[^0-9]", "")
     1.6        if old_verification_data.unit and old_verification_data.unit ~= "" then
     1.7 -        local old_unit_privilege = Privilege:by_pk(verification.verified_member_id, old_verification_data.unit)
     1.8 +        local old_unit_privilege = Privilege:by_pk(old_verification_data.unit, verification.verified_member_id)
     1.9          if old_unit_privilege then
    1.10            old_unit_privilege:destroy()
    1.11          end

Impressum / About Us