I *think* this fixes the languagelinks error

Moved the else statement outside of isset condition