Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
05db7853
Commit
05db7853
authored
Jun 09, 2008
by
Nigel McNie
Browse files
Fix small booboo in my previous patch to add 'log in as' link to the user profile page.
(cherry picked from commit
879f456e
)
parent
283ee178
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/user/view.php
View file @
05db7853
...
...
@@ -331,7 +331,7 @@ if ($loggedinid != $userid) {
}
if
(
$id
!=
$USER
->
get
(
'id'
)
&&
is_null
(
$USER
->
get
(
'parentuser'
)))
{
if
(
$
user
id
!=
$USER
->
get
(
'id'
)
&&
is_null
(
$USER
->
get
(
'parentuser'
)))
{
$loginas
=
get_string
(
'loginasuser'
,
'admin'
,
$user
->
username
);
}
else
{
$loginas
=
null
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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