diff --git a/CHANGELOG.md b/CHANGELOG.md index f7fc6dc5..98253f2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # 📖 Change Log +## [v2.1.5-2024.09 [Final v7]](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2024.09) (2024-09-04) +[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2024.07-HotFix...v2.1.5-2024.09) + +- Fixed undefined $lang in functions_delete.php +- Fixed incorrect SQL-query in topic_watch.php +- Some fixes for is_unread() working +- Increased USEREMAIL_MAX_LENGTH +- Some other changes / improvements +- Updated Download Center link +- Updated translations + ## [v2.1.5-2024.07-HotFix [Final v6]](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2024.07-HotFix) (2024-07-13) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2024.07...v2.1.5-2024.07-HotFix) diff --git a/library/attach_mod/includes/functions_delete.php b/library/attach_mod/includes/functions_delete.php index 8cf7f759..9876e507 100644 --- a/library/attach_mod/includes/functions_delete.php +++ b/library/attach_mod/includes/functions_delete.php @@ -9,7 +9,7 @@ */ function delete_attachment($post_id_array = 0, $attach_id_array = 0, $page = 0, $user_id = 0) { - global $bb_cfg; + global $bb_cfg, $lang; // Generate Array, if it's not an array if ($post_id_array === 0 && $attach_id_array === 0 && $page === 0) @@ -281,4 +281,4 @@ function delete_attachment($post_id_array = 0, $attach_id_array = 0, $page = 0, } DB()->sql_freeresult($result); } -} \ No newline at end of file +} diff --git a/library/config.php b/library/config.php index a87b91d0..40120087 100644 --- a/library/config.php +++ b/library/config.php @@ -15,8 +15,8 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? idn_to_utf8($_SERVER['SERVER_ $domain_ssl = false; // используется ли SSL сертификат (HTTPS) на сайте // Version info -$bb_cfg['tp_version'] = '2.1.5-2024.07-HotFix [Final v6]'; -$bb_cfg['tp_release_date'] = '13-07-2024'; +$bb_cfg['tp_version'] = '2.1.5-2024.09 [Final v7]'; +$bb_cfg['tp_release_date'] = '04-09-2024'; $bb_cfg['tp_release_state'] = 'LTS'; $bb_cfg['tp_zf_version'] = '2.4.13 (Latest)';