From 92f76a6685a2a490ddadc501a6ee0f57a9fd81d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 4 Sep 2008 07:50:09 +0000 Subject: [PATCH] --- vilesci/personen/preinteressent_anlegen.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vilesci/personen/preinteressent_anlegen.php b/vilesci/personen/preinteressent_anlegen.php index eb1849102..580a15856 100644 --- a/vilesci/personen/preinteressent_anlegen.php +++ b/vilesci/personen/preinteressent_anlegen.php @@ -513,7 +513,7 @@ echo ''; echo 'Schule ID:'; echo ''; if(($vorname!='' && $geburtsdatum=='' && $nachname=='') - //|| ($vorname=='' && $geburtsdatum=='' && $nachname!='') + || ($vorname=='' && $geburtsdatum=='' && $nachname!='') || ($nachname=='' && $geburtsdatum=='') || ($geburtsdatum=='' && $nachname=='' && $vorname=='') || $geburtsdatum_error) @@ -552,12 +552,14 @@ if($vorname!='' && $nachname!='') $where.=" (LOWER(vorname)=LOWER('".$vorname."') AND LOWER(nachname)=LOWER('".$nachname."'))"; } +/* if($vorname=='' && $nachname!='') { if($where!='') $where.=' OR'; $where.=" (LOWER(nachname)=LOWER('".$nachname."'))"; } +*/ if($where!='') {