From e46960ec7d2d529c37139a1b64f700c611cea58c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 23 Sep 2023 14:01:15 +0700 Subject: [PATCH] Minor improvements (#253) * Minor improvements * Update CHANGELOG.md --- CHANGELOG.md | 2 +- library/includes/classes/emailer.php | 4 ++-- library/includes/ucp/topic_watch.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d254b92f..4f55c20f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ - Release v2.1.5-2023.09 🎉 - Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka)) - Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka)) -- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253) ([belomaxorka](https://github.com/belomaxorka)) ## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix) diff --git a/library/includes/classes/emailer.php b/library/includes/classes/emailer.php index bda92f41..ab2a271a 100644 --- a/library/includes/classes/emailer.php +++ b/library/includes/classes/emailer.php @@ -137,7 +137,7 @@ class emailer if ($bb_cfg['emailer_disabled']) { - return; + return false; } // Escape all quotes @@ -241,4 +241,4 @@ class emailer return $start . $str . $end; } -} \ No newline at end of file +} diff --git a/library/includes/ucp/topic_watch.php b/library/includes/ucp/topic_watch.php index d7f33755..8f61cb82 100644 --- a/library/includes/ucp/topic_watch.php +++ b/library/includes/ucp/topic_watch.php @@ -1,6 +1,6 @@