diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 529fab3f01..875281d5d2 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -141,6 +141,7 @@
[Fix] Messenger now also able to use a custom language path. (Bug #36545)
[Fix] PM Export uses ISO 8601 date now. (Bug #32645)
[Fix] Apply append_sid() to newest/latest post links in viewforum/search and UCP main module. (Bug #26815)
+ [Fix] Do not create thumbnail if thumbnail would've the same size as the original image. (Bug #30725)
[Change] Default difference view is now 'inline' instead of 'side by side'
[Change] Added new option for merging differences to conflicting files in automatic updater
[Change] Add link to user profile in the MCP for user notes and warn user.
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index e9c74e8e02..07c8944992 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -614,7 +614,7 @@ function create_thumbnail($source, $destination, $mimetype)
list($new_width, $new_height) = get_img_size_format($width, $height);
// Do not create a thumbnail if the resulting width/height is bigger than the original one
- if ($new_width > $width && $new_height > $height)
+ if ($new_width >= $width && $new_height >= $height)
{
return false;
}