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
7be4d2d1
Commit
7be4d2d1
authored
Jul 08, 2011
by
Ruslan Kabalin
Committed by
Gerrit Code Review
Jul 08, 2011
Browse files
Revert "Make profile_icon_url output compatible with html export filter." due to bug #806985
This reverts commit
858f1b9a
parent
858f1b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/user.php
View file @
7be4d2d1
...
...
@@ -1886,10 +1886,10 @@ function profile_icon_url($user, $maxwidth=40, $maxheight=40) {
}
$thumb
=
get_config
(
'wwwroot'
)
.
'thumb.php'
;
$sizeparams
=
'maxwidth='
.
$maxwidth
.
'&
amp;
maxheight='
.
$maxheight
;
$sizeparams
=
'maxwidth='
.
$maxwidth
.
'&maxheight='
.
$maxheight
;
if
(
!
empty
(
$user
->
profileicon
))
{
return
$thumb
.
'?type=profileiconbyid&
amp;
'
.
$sizeparams
.
'&
amp;
id='
.
$user
->
profileicon
;
return
$thumb
.
'?type=profileiconbyid&'
.
$sizeparams
.
'&id='
.
$user
->
profileicon
;
}
// Assume we have the right size available in docroot, so we don't
...
...
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