Commit 09c84f0c authored by Nigel McNie's avatar Nigel McNie
Browse files

Use the new get_imagesize_parameters() for doing exactly that

parent a20ce01a
......@@ -35,7 +35,7 @@ switch ($type) {
case 'profileiconbyid':
case 'profileicon':
$id = param_integer('id');
$size = param_imagesize('size', '');
$size = get_imagesize_parameters();
if ($type == 'profileicon') {
// Convert ID of user to the ID of a profileicon
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment