hotfix, editProfil modal in fetchProfilUpdates component

This commit is contained in:
SimonGschnell
2024-03-13 12:23:45 +01:00
parent b1411549f3
commit e7480eb9ff
6 changed files with 143 additions and 20 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ class Profil extends Auth_Controller
if ($nation == "A") {
if (isset($zip) && $zip > 999 && $zip < 32000) {
$gemeinde_res = $this->GemeindeModel->loadWhere(['ortschaftskennziffer' => $zip]);
$gemeinde_res = $this->GemeindeModel->loadWhere(['plz' => $zip]);
if (isError($gemeinde_res)) {
show_error("error while trying to query bis.tbl_gemeinde");
}