From 8da1dfddce00d26f98405a825e1dc5647c731252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Wed, 6 May 2009 08:37:49 +0000 Subject: [PATCH] --- vilesci/personen/personendetails.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vilesci/personen/personendetails.php b/vilesci/personen/personendetails.php index 3953ecc8f..4c2a3deb4 100644 --- a/vilesci/personen/personendetails.php +++ b/vilesci/personen/personendetails.php @@ -132,7 +132,10 @@ foreach ($adresse_obj->result as $row) echo "".$adresstyp_arr[$row->typ].""; echo "".($row->heimatadresse?'Ja':'Nein').""; echo "".($row->zustelladresse?'Ja':'Nein').""; - echo "".($row->firma_id!=''?$firma_arr[$row->firma_id]:'').""; + $firma=new firma($conn); + if($row->firma_id!='') + $firma->load($row->firma_id); + echo "".$firma->name.""; } echo ''; //PREINTERESSENT