#172791 by dmitrig01: fix notices when contact page is called, but contact module is not configured yet