Module:Effective protection level: Difference between revisions
fix variable name
(make the metatable work with the change coming June 5th) |
(fix variable name) |
||
Line 64: | Line 64: | ||
return function(frameOrPagename) | return function(frameOrPagename) | ||
if type(frameOrPagename) == 'table' and frameOrPagename.args then | if type(frameOrPagename) == 'table' and frameOrPagename.args then | ||
return t._main(k, | return t._main(k, frameOrPagename.args[1]) | ||
else | else | ||
return t._main(k, frameOrPagename) | return t._main(k, frameOrPagename) |