From 2686aee1583ed4eeae474ddcccdb75c0a50b6bdd Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Mon, 3 Aug 2026 19:30:49 +0200 Subject: [PATCH] avoid multiple assignments to one variable --- application/controllers/api/frontend/v1/OtherLvPlan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" => [