From d698c32bc63de9c20bee90007b3d71ca7a4f6bc5 Mon Sep 17 00:00:00 2001 From: Naguissa Date: Fri, 8 Oct 2021 10:01:59 +0200 Subject: [PATCH] 3.2.19 - Fix php 8 compatibility --- gfksx/ThanksForPosts/acp/acp_thanks_info.php | 2 +- gfksx/ThanksForPosts/acp/acp_thanks_refresh_info.php | 2 +- gfksx/ThanksForPosts/acp/acp_thanks_reput_info.php | 2 +- gfksx/ThanksForPosts/acp/acp_thanks_truncate_info.php | 2 +- gfksx/ThanksForPosts/composer.json | 2 +- gfksx/ThanksForPosts/core/helper.php | 2 +- gfksx/ThanksForPosts/language/es/thanks_mod.php | 2 +- gfksx/ThanksForPosts/language/es_x_tu/thanks_mod.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gfksx/ThanksForPosts/acp/acp_thanks_info.php b/gfksx/ThanksForPosts/acp/acp_thanks_info.php index df590036..8c417246 100644 --- a/gfksx/ThanksForPosts/acp/acp_thanks_info.php +++ b/gfksx/ThanksForPosts/acp/acp_thanks_info.php @@ -17,7 +17,7 @@ function module() { return array( 'filename' => '\gfksx\ThanksForPosts\acp\acp_thanks_module', 'title' => 'ACP_THANKS_SETTINGS', - 'version' => '3.2.18', + 'version' => '3.2.19', 'modes' => array( 'thanks' => array('title' => 'ACP_THANKS_SETTINGS', 'auth' => 'ext_gfksx/ThanksForPosts && acl_a_board', 'cat' => array('ACP_THANKS')), ), diff --git a/gfksx/ThanksForPosts/acp/acp_thanks_refresh_info.php b/gfksx/ThanksForPosts/acp/acp_thanks_refresh_info.php index 8eb8d54b..88b4ec99 100644 --- a/gfksx/ThanksForPosts/acp/acp_thanks_refresh_info.php +++ b/gfksx/ThanksForPosts/acp/acp_thanks_refresh_info.php @@ -17,7 +17,7 @@ function module() { return array( 'filename' => '\gfksx\ThanksForPosts\acp\acp_thanks_refresh_module', 'title' => 'ACP_THANKS_REFRESH', - 'version' => '3.2.18', + 'version' => '3.2.19', 'modes' => array( 'thanks' => array('title' => 'ACP_THANKS_REFRESH', 'auth' => 'ext_gfksx/ThanksForPosts && acl_a_board', 'cat' => array('ACP_THANKS')), ), diff --git a/gfksx/ThanksForPosts/acp/acp_thanks_reput_info.php b/gfksx/ThanksForPosts/acp/acp_thanks_reput_info.php index 26943997..407f191c 100644 --- a/gfksx/ThanksForPosts/acp/acp_thanks_reput_info.php +++ b/gfksx/ThanksForPosts/acp/acp_thanks_reput_info.php @@ -17,7 +17,7 @@ function module() { return array( 'filename' => '\gfksx\ThanksForPosts\acp\acp_thanks_reput_module', 'title' => 'ACP_THANKS_REPUT_SETTINGS', - 'version' => '3.2.18', + 'version' => '3.2.19', 'modes' => array( 'thanks' => array('title' => 'ACP_THANKS_REPUT_SETTINGS', 'auth' => 'ext_gfksx/ThanksForPosts && acl_a_board', 'cat' => array('ACP_THANKS')), ), diff --git a/gfksx/ThanksForPosts/acp/acp_thanks_truncate_info.php b/gfksx/ThanksForPosts/acp/acp_thanks_truncate_info.php index 91231c35..9870e3ff 100644 --- a/gfksx/ThanksForPosts/acp/acp_thanks_truncate_info.php +++ b/gfksx/ThanksForPosts/acp/acp_thanks_truncate_info.php @@ -17,7 +17,7 @@ function module() { return array( 'filename' => '\gfksx\ThanksForPosts\acp\acp_thanks_truncate_module', 'title' => 'ACP_THANKS_TRUNCATE', - 'version' => '3.2.18', + 'version' => '3.2.19', 'modes' => array( 'thanks' => array('title' => 'ACP_THANKS_TRUNCATE', 'auth' => 'ext_gfksx/ThanksForPosts && acl_a_board', 'cat' => array('ACP_THANKS')), ), diff --git a/gfksx/ThanksForPosts/composer.json b/gfksx/ThanksForPosts/composer.json index 2d5d6543..f20679b1 100644 --- a/gfksx/ThanksForPosts/composer.json +++ b/gfksx/ThanksForPosts/composer.json @@ -3,7 +3,7 @@ "type": "phpbb-extension", "description": "Adds the ability to thank the author (thanks to cancel), and use the rating system posts/topics/forums based on the issued of thanks.", "homepage": "https://www.foroelectro.net", - "version": "3.2.18", + "version": "3.2.19", "time": "2019-05-31", "license": "GPL-2.0", "authors": [ diff --git a/gfksx/ThanksForPosts/core/helper.php b/gfksx/ThanksForPosts/core/helper.php index 680a01ed..31744874 100644 --- a/gfksx/ThanksForPosts/core/helper.php +++ b/gfksx/ThanksForPosts/core/helper.php @@ -160,7 +160,7 @@ public function get_thanks($post_id) if (!empty($user_list)) { - $return = implode($user_list, ' • '); + $return = implode(' • ', $user_list); } if ($further_thanks > 0) diff --git a/gfksx/ThanksForPosts/language/es/thanks_mod.php b/gfksx/ThanksForPosts/language/es/thanks_mod.php index deec9c90..fc2292c5 100644 --- a/gfksx/ThanksForPosts/language/es/thanks_mod.php +++ b/gfksx/ThanksForPosts/language/es/thanks_mod.php @@ -84,7 +84,7 @@ 'RATING_TOPIC' => 'Tema', 'THANK' => 'vez', 'THANK_FROM' => 'de', - 'THANK_TEXT_1' => 'Estos usuarios agradecierón al autor ', + 'THANK_TEXT_1' => 'Estos usuarios agradecieron al autor ', 'THANK_TEXT_2' => array( 1 => ' por el mensaje: ', 2 => ' por el mensaje (total %d):' diff --git a/gfksx/ThanksForPosts/language/es_x_tu/thanks_mod.php b/gfksx/ThanksForPosts/language/es_x_tu/thanks_mod.php index ecb12b3d..4dbf7ac5 100644 --- a/gfksx/ThanksForPosts/language/es_x_tu/thanks_mod.php +++ b/gfksx/ThanksForPosts/language/es_x_tu/thanks_mod.php @@ -84,7 +84,7 @@ 'RATING_TOPIC' => 'Tema', 'THANK' => 'vez', 'THANK_FROM' => 'de', - 'THANK_TEXT_1' => 'Estos usuarios agradecierón al autor ', + 'THANK_TEXT_1' => 'Estos usuarios agradecieron al autor ', 'THANK_TEXT_2' => array( 1 => ' por el mensaje: ', 2 => ' por el mensaje (total %d):'