diff --git a/application/controllers/api/frontend/v1/OtherLvPlan.php b/application/controllers/api/frontend/v1/OtherLvPlan.php index a48113270..af075fbc3 100644 --- a/application/controllers/api/frontend/v1/OtherLvPlan.php +++ b/application/controllers/api/frontend/v1/OtherLvPlan.php @@ -51,8 +51,8 @@ class OtherLvPlan extends FHCAPI_Controller $isMitarbeiter = getData($isMitarbeiterResult); $isStudent = !$isMitarbeiter; - $profileData = $this->profillib->getView($uid); - $profileData = hasData($profileData) ? getData($profileData) : null; + $resProfileData = $this->profillib->getView($uid); + $profileData = hasData($resProfileData) ? getData($resProfileData) : null; $viewData = [ "user_data" => [