Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
502ad413
Commit
502ad413
authored
May 21, 2014
by
Bertrand Gauthier
Browse files
Aide vue UserCurrent : correction bug si aucun utilisateur connecté).
parent
d1611cc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/View/Helper/UserCurrent.php
View file @
502ad413
...
...
@@ -42,11 +42,11 @@ class UserCurrent extends UserAbstract
$status
=
$userStatusHelper
(
false
);
$userProfileSelectable
=
true
;
if
(
$userProfileSelectable
)
{
$status
.
=
sprintf
(
", <small>%s</small>"
,
$this
->
getUserContext
()
->
getSelectedIdentityRole
());
}
if
(
$this
->
getIdentity
())
{
if
(
$userProfileSelectable
)
{
$status
.
=
sprintf
(
", <small>%s</small>"
,
$this
->
getUserContext
()
->
getSelectedIdentityRole
());
}
$userProfileHelper
=
$this
->
getView
()
->
plugin
(
'userProfile'
);
/* @var $userProfileHelper \UnicaenAuth\View\Helper\UserProfile */
$userProfileHelper
->
setUserProfileSelectable
(
$userProfileSelectable
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment