OK, now fixed. Attached file replaces kiwitrees/includes/functions/functions_print_facts.php.
Out of interest, I looked back to see when this bug appeared. Seems it happened when someone (Greg?) “simplified” the address structure code in 2013 (webtrees 1.4.0), and I then created kiwitrees out of that version not knowing about the change.
It actually needs further work, as it does not allow for the alternative structure ADDR1, ADDR2, CITY, STAE, PHON, FAX etc… either.It did that OK before the webtrees change as well. I’ll try to incorporate that in a later update.