liquid_feedback_frontend

annotate app/main/admin/_action/unit_update.lua @ 1841:e6983d79d74f

Fix Lua error on <ol> or <ul> tag at end of input to util.html_is_safe(...)
author jbe
date Thu Feb 03 15:21:45 2022 +0100 (2022-02-03)
parents 2a0d86117d54
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