From be250e12c1f160ec9c5f0f5fd883d27d94ae6871 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 14 Nov 2023 14:20:25 +0700 Subject: [PATCH] Minor improvements (#1095) --- library/language/source/main.php | 1 - viewforum.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/library/language/source/main.php b/library/language/source/main.php index eefdc08ae..081cd7166 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -2180,7 +2180,6 @@ $lang['IMAGE_SEARCH_IMAGICK'] = 'Search Imagick'; $lang['USE_GD2'] = 'Make use of GD2 Extension'; $lang['USE_GD2_EXPLAIN'] = 'PHP is able to be compiled with the GD1 or GD2 Extension for image manipulating. To correctly create Thumbnails without imagemagick the Attachment Mod uses two different methods, based on your selection here. If your thumbnails are in a bad quality or screwed up, try to change this setting.'; -$lang['ATTACHMENT_VERSION'] = 'Attachment Mod Version %s'; // %s is the version number // Extensions -> Forbidden Extensions $lang['MANAGE_FORBIDDEN_EXTENSIONS'] = 'Manage Forbidden Extensions'; diff --git a/viewforum.php b/viewforum.php index fc47cdea7..8cc1914a7 100644 --- a/viewforum.php +++ b/viewforum.php @@ -469,7 +469,7 @@ foreach ($topic_rowset as $topic) { )); if (isset($topic['tor_size'])) { - $tor_magnet = create_magnet($topic['info_hash'], $topic['info_hash_v2'], $topic['auth_key'], html_entity_decode($topic['topic_title'], ENT_QUOTES, 'UTF-8')); + $tor_magnet = create_magnet($topic['info_hash'], $topic['info_hash_v2'], $topic['auth_key'], html_entity_decode($topic['topic_title'], ENT_QUOTES, 'UTF-8')); $template->assign_block_vars('t.tor', array( 'SEEDERS' => (int)$topic['seeders'],