prevent ```Undefined variable: captchaObjectType```

If you disable the captcha, you get when creating a commentary the error message: Undefined variable: captchaObjectType on line 610 and 614. This pull request fixes the bug.
Merge pull request #1829 from joshuaruesweg/patch-37

prevent ```Undefined variable: captchaObjectType```