Merge pull request #6085 from etactica/master-tpl-fixes
lua-runtime: template: fix "tpl" refactoring
This commit is contained in:
commit
04f340ddc7
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ context.viewns = setmetatable({
|
|||
end;
|
||||
translate = i18n.translate;
|
||||
translatef = i18n.translatef;
|
||||
export = function(k, v) if tpl.context.viewns[k] == nil then tpl.context.viewns[k] = v end end;
|
||||
export = function(k, v) if context.viewns[k] == nil then context.viewns[k] = v end end;
|
||||
striptags = xml.striptags;
|
||||
pcdata = xml.pcdata;
|
||||
ifattr = function(...) return _ifattr(...) end;
|
||||
|
|
Loading…
Reference in a new issue