mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
avoid multiple assignments to one variable
This commit is contained in:
@@ -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" => [
|
||||
|
||||
Reference in New Issue
Block a user