mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Merge branch 'bug-52531/Studierendenverwaltung/Adressenhandling' into merge_FHC4_C4
This commit is contained in:
@@ -230,10 +230,7 @@ class Kontakt extends FHCAPI_Controller
|
||||
'numeric' => $this->p->t('ui', 'error_fieldNotNumeric', ['field' => 'PLZ'])
|
||||
]);
|
||||
|
||||
if(isset($_POST['gemeinde']) && ($_POST['gemeinde'] != '')
|
||||
&& isset($_POST['ort']) && ($_POST['ort'] != '')
|
||||
&& isset($_POST['nation']) && ($_POST['nation'] == 'A')
|
||||
&& isset($_POST['plz']) && ($_POST['plz'] != '') )
|
||||
if(isset($_POST['gemeinde']) && isset($_POST['ort']) && isset($_POST['nation']) && $_POST['nation'] == 'A')
|
||||
{
|
||||
$this->form_validation->set_rules('address.plz', 'Postleitzahl', 'callback_validateLocationCombination', [
|
||||
'validateLocationCombination' => $this->p->t('ui', 'error_location_combination')
|
||||
|
||||
Reference in New Issue
Block a user