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!='') {