fix syntax-error in getLanguages, thx to Sephi, refs #1306

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>