From bb7d9890aeacbd5f0023d57ab59fd7f5bb66435a Mon Sep 17 00:00:00 2001 From: Alexander Purr <purr@ub.uni-leipzig.de> Date: Tue, 3 Aug 2021 17:17:10 +0200 Subject: [PATCH] refs #20431 [fid_bbi] display home library on profile page * missing key --- themes/fid_bbi/templates/myresearch/profile.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/fid_bbi/templates/myresearch/profile.phtml b/themes/fid_bbi/templates/myresearch/profile.phtml index 45462d37c34..bdbab4b60b2 100644 --- a/themes/fid_bbi/templates/myresearch/profile.phtml +++ b/themes/fid_bbi/templates/myresearch/profile.phtml @@ -40,7 +40,7 @@ if (is_array($profile)) { $profile, array_merge( [ $this->transEsc('fid::label_username') => 'email' ], - $profile['academic_title'] ? [$this->transEsc('fid::label_home_library') => 'home_library'] : [], + $profile['home_library'] ? [$this->transEsc('fid::label_home_library') => 'home_library'] : [], $profile['academic_title'] ? [$this->transEsc('fid::label_academic_title') => 'academic_title'] : [], $profile['salutation'] ? [$this->transEsc('fid::label_salutation') => 'salutation'] : [], $profile['firstname'] ? [$this->transEsc('fid::label_firstname') => 'firstname'] : [], -- GitLab