Skip to content
GitLab
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
bd5f28f7
Commit
bd5f28f7
authored
Nov 17, 2017
by
Robert Lyon
Committed by
Gerrit Code Review
Nov 17, 2017
Browse files
Merge "Bug 1703465: filter deleted user from masquerading report"
parents
a74c6204
f8d819d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/statistics.php
View file @
bd5f28f7
...
...
@@ -2978,7 +2978,7 @@ function masquerading_stats_table($limit, $offset, $extra, $institution, $urllin
$users
=
$SESSION
->
get
(
'usersforstats'
);
$fromsql
=
" FROM
{
usr
}
u JOIN
{
event_log
}
e ON e.usr = u.id "
;
$wheresql
=
" WHERE u.id != 0 AND e.event = 'loginas'"
;
$wheresql
=
" WHERE u.id != 0 AND
u.deleted = 0 AND
e.event = 'loginas'"
;
$where
=
array
();
if
(
$institution
)
{
$fromsql
.
=
" JOIN
{
usr_institution
}
ui ON (ui.usr = u.id AND ui.institution = ?)"
;
...
...
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