From fad1a5db4cd8322dcfc25f8326135b96e39055bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 14 Apr 2011 08:55:25 +0000 Subject: [PATCH] Gesperrte Firmen werden nun markiert --- wawi/wawi_autocomplete.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wawi/wawi_autocomplete.php b/wawi/wawi_autocomplete.php index 2d4503717..fe9b39f7f 100644 --- a/wawi/wawi_autocomplete.php +++ b/wawi/wawi_autocomplete.php @@ -77,7 +77,8 @@ $kurzbz = $standort->result[0]->kurzbz; else $kurzbz = ''; - echo html_entity_decode($sFirma->result[$i]->name).($kurzbz!=''?' ('.$kurzbz.')':'').'|'.html_entity_decode($sFirma->result[$i]->firma_id)."\n"; + + echo html_entity_decode(($sFirma->result[$i]->gesperrt?'!!GESPERRT!! ':'').$sFirma->result[$i]->name).($kurzbz!=''?' ('.$kurzbz.')':'').'|'.html_entity_decode($sFirma->result[$i]->firma_id)."\n"; } break;