ajax returns "1" instead of error
How to reproduce:
- Generate a client template and assign database but no webserver and vice versa
- Try to generate a database as user
It will generate a "1." error message. (ajax response is an empty alert div with "1." as content)