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
0cb47852
Commit
0cb47852
authored
Feb 09, 2012
by
Francois Marier
Committed by
Gerrit Code Review
Feb 09, 2012
Browse files
Merge "Fix PHP warning on admin user search page"
parents
6763b52a
d8ad6950
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/searchlib.php
View file @
0cb47852
...
...
@@ -358,7 +358,7 @@ function build_admin_user_search_results($search, $offset, $limit) {
unset
(
$cols
[
'select'
]);
}
}
else
if
(
!
$USER
->
get
(
'admin'
))
{
else
if
(
!
$USER
->
get
(
'admin'
)
&&
$results
[
'data'
]
)
{
foreach
(
$results
[
'data'
]
as
&
$r
)
{
if
(
!
isset
(
$r
[
'email'
]))
{
$r
[
'email'
]
=
'- '
.
get_string
(
'emailaddresshidden'
,
'admin'
)
.
' -'
;
...
...
Write
Preview
Markdown
is supported
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