liquid_feedback_frontend

annotate app/main/admin/_action/unit_update.lua @ 1504:2a0d86117d54

Added hidden and role units
author bsw
date Fri Jul 31 00:18:55 2020 +0200 (2020-07-31)
parents fede09736f2b
children
rev   line source
bsw@595 1 local unit = Unit:by_id(param.get_id()) or Unit:new()
bsw@595 2
bsw@1209 3 param.update(unit, "parent_id", "name", "description", "external_reference", "active")
bsw@595 4
bsw@1504 5 unit.attr = param.get("attr")
bsw@1504 6
bsw@595 7 unit:save()

Impressum / About Us