Module:Citation/CS1: Difference between revisions

len not length
m>Dragons flight
(error trapping of empty citations)
m>Dragons flight
(len not length)
Line 1,022: Line 1,022:
     end
     end
      
      
     if string.length(text) < 2 then
     if string.len(text) < 2 then
         text = '<span class="error">Citation is empty</span>';
         text = '<span class="error">Citation is empty</span>';
     end
     end
Anonymous user