aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2014-06-16 22:24:59 +0200
committerAndreas Fischer <bantu@phpbb.com>2014-06-16 22:24:59 +0200
commit7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00 (patch)
tree1649bd0943b407c83b4d5430af11f4eee5b452d1 /phpBB/includes/functions_convert.php
parent58fd91dde105a0755e906452842f635770f8dd23 (diff)
parent4d6afb26380d192efc556640499b6f5c43fbdf3c (diff)
downloadforums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.gz
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.bz2
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.tar.xz
forums-7f5aeeef012dcd9b5492e7eaebbbb3e56b5a3d00.zip
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12722] Add Generic.Formatting.SpaceAfterCast in the legacy ruleset
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 186e3b50f0..e8f8151d6f 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1007,8 +1007,8 @@ function get_remote_avatar_dim($src, $axis)
{
$bigger = ($remote_avatar_cache[$src][0] > $remote_avatar_cache[$src][1]) ? 0 : 1;
$ratio = $default[$bigger] / $remote_avatar_cache[$src][$bigger];
- $remote_avatar_cache[$src][0] = (int)($remote_avatar_cache[$src][0] * $ratio);
- $remote_avatar_cache[$src][1] = (int)($remote_avatar_cache[$src][1] * $ratio);
+ $remote_avatar_cache[$src][0] = (int) ($remote_avatar_cache[$src][0] * $ratio);
+ $remote_avatar_cache[$src][1] = (int) ($remote_avatar_cache[$src][1] * $ratio);
}
}