Hotfix 3294 (Uncaught TypeError: Cannot call method 'split' of undefined)

Fix bug #3294