Fix #639 and #638 (Error 500 opening a ticket view) (#640)
Fix #639 and #638 (Error 500 opening a ticket view) (#640)

* Fix #639 and #638 (Error 500 opening a ticket view)

* Only initialize preferences if not already filled.

zammad/zammad,zammad/zammad,monotek/zammad,zammad/zammad,zammad/zammad,monotek/zammad,zammad/zammad,monotek/zammad,zammad/zammad,monotek/zammad,monotek/zammad,monotek/zammad