From b82d14d4cdc3be8383fd8917f38be022856cdfe4 Mon Sep 17 00:00:00 2001 From: oesi Date: Wed, 2 Nov 2016 15:00:41 +0100 Subject: [PATCH] Fehler bei Firmensuche im WaWi behoben --- include/firma.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/firma.class.php b/include/firma.class.php index 029e1469a..06b0db7eb 100644 --- a/include/firma.class.php +++ b/include/firma.class.php @@ -388,7 +388,7 @@ class firma extends basis_db UNION SELECT firma_id, name, anmerkung, lieferbedingungen, firmentyp_kurzbz, updateamum, updatevon, insertamum, insertvon, - ext_id, schule, steuernummer, gesperrt, aktiv, finanzamt, '2' as sort + ext_id, schule, steuernummer, gesperrt, aktiv, finanzamt, '2' as sort, partner_code FROM public.tbl_firma WHERE UPPER(trim(public.tbl_firma.name)) like '%".$this->db_escape($matchcode)."%' @@ -698,7 +698,7 @@ class firma extends basis_db if($firmentyp_kurzbz!='') $qry.=" and firmentyp_kurzbz=".$this->db_add_param($firmentyp_kurzbz); - + if($oes!='') $qry.=" and oe_kurzbz IN ('".$oes."') ";