יחידה:פרמטרים: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 113: | שורה 113: | ||
then return end end | then return end end | ||
errors = errors + 1 | errors = errors + 1 | ||
if suggestions[k] == nil or suggestions[k] == "" -- is there a suggestion | if suggestions and (suggestions[k] == nil or suggestions[k] == "") -- is there a suggestion | ||
then needsug = true -- if no, need more suggestions | then needsug = true -- if no, need more suggestions | ||
else answer = answer .. ', <span style = "color:green">מומלץ ' .. "''" .. suggestions[k] .. "''</span>" end | else answer = answer .. ', <span style = "color:green">מומלץ ' .. "''" .. suggestions[k] .. "''</span>" end | ||