From 14985b641035c074f50bdd34cd2483369ba19e7e Mon Sep 17 00:00:00 2001 From: Axel Stohn Date: Thu, 20 Oct 2022 13:21:02 -0700 Subject: [PATCH] fixing typo --- Model/GrouperGroup.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Model/GrouperGroup.php b/Model/GrouperGroup.php index 69e3a7c..cf61665 100644 --- a/Model/GrouperGroup.php +++ b/Model/GrouperGroup.php @@ -143,9 +143,10 @@ public function isGrouperVisible(string $userId) if ($member == 'T') { CakeSession::write('Plugin.Grouper.isGrouperVisible', 'T'); return 'T'; + } else { + CakeSession::write('Plugin.Grouper.isGrouperVisible', 'F'); + return 'F'; } - CakeSession::write('Plugin.Grouper.isGrouperVisible', 'F'); - return 'F'; } catch (Exception $e) { CakeLog::write('error', __METHOD__ . ': An error occurred');