Module:UserLinks/sandbox: Difference between revisions

Content deleted Content added
switch link code check order
return the user link rather than the blank string if we aren't passed any link codes
Line 374:
local userLink = linkFunctions.u(snippets)
 
-- Check to see thatIf we wereweren't passed atany leastlink one codecodes, andjust return the user link.
-- blank string otherwise.
if #codes < 1 then
return ''userLink
end