diff --git a/application/controllers/Cis/ProfilUpdate.php b/application/controllers/Cis/ProfilUpdate.php index 9411640f7..44fce82af 100755 --- a/application/controllers/Cis/ProfilUpdate.php +++ b/application/controllers/Cis/ProfilUpdate.php @@ -80,7 +80,7 @@ class ProfilUpdate extends Auth_Controller $insertID = $this->handleAdresse($requested_change, $personID); $insertID = hasData($insertID) ? getData($insertID) : null; if(isset($insertID)) { - $requested_change['kontakt_id'] = $insertID; + $requested_change['adresse_id'] = $insertID; $update_res = $this->updateRequestedChange($id,$requested_change); if(isError($update_res)){ echo json_encode(error("was not able to add addresse_id " . $insertID . " to profilRequest " . $id )); diff --git a/public/js/apps/Cis/ProfilUpdateRequests.js b/public/js/apps/Cis/ProfilUpdateRequests.js index 9b7ad48d4..126fc5fed 100755 --- a/public/js/apps/Cis/ProfilUpdateRequests.js +++ b/public/js/apps/Cis/ProfilUpdateRequests.js @@ -97,7 +97,7 @@ const app = Vue.createApp({ //! function that is called when clicking on a row in the table let cellData = cell.getRow().getData(); - console.log("cellData",cellData); + AcceptDenyUpdate.popup({ value: cellData }) .then((res) => { console.log("res of the modal: ", res); @@ -144,7 +144,7 @@ const app = Vue.createApp({