Skip to content

Commit 2dddb66

Browse files
committed
v1.4.3
1 parent eece241 commit 2dddb66

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ For full functionality "Maximum avatar file size" in "ACP" > "Board configuratio
5454

5555
## Changelog
5656

57+
### v1.4.3 (20-02-2024)
58+
- Fixed [Error in Post](https://www.phpbb.de/community/viewtopic.php?p=1426071#p1426071)
59+
5760
### v1.4.2 (23-01-2024)
5861
- Improved error handling in preview
5962
- Fixed multiple preview hashes

imcger/imgupload/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ For full functionality "Maximum avatar file size" in "ACP" > "Board configuratio
5454

5555
## Changelog
5656

57+
### v1.4.3 (20-02-2024)
58+
- Fixed [Error in Post](https://www.phpbb.de/community/viewtopic.php?p=1426071#p1426071)
59+
5760
### v1.4.2 (23-01-2024)
5861
- Improved error handling in preview
5962
- Fixed multiple preview hashes

imcger/imgupload/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "phpbb-extension",
44
"description": "Using ImageMagick php librarie for resize image attachments and creating thumbnails.",
55
"homepage": "https://github.com/IMC-GER/phpBB-Image-upload-use-ImageMagick/tags",
6-
"version": "1.4.2",
7-
"time": "2024-01-23",
6+
"version": "1.4.3",
7+
"time": "2024-02-20",
88
"license": "GPL-2.0-only",
99
"authors": [
1010
{

imcger/imgupload/event/main_listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ function imcger_viewtopic_modify_post_row($event)
378378
$post_attachments = $event['attachments'];
379379

380380
// Do nothing when no attachment
381-
if (!count($post_attachments))
381+
if (empty($post_attachments[$row['post_id']]))
382382
{
383383
return;
384384
}

imgupload_version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"stable": {
33
"1.0": {
4-
"current": "1.4.2",
4+
"current": "1.4.3",
55
"announcement": "https://www.phpbb.de/community/viewtopic.php?t=246009",
66
"download": "https://github.com/IMC-GER/phpBB-Image-upload-use-ImageMagick/tags",
77
"eol": null,

0 commit comments

Comments
 (0)