diff --git a/CHANGELOG.md b/CHANGELOG.md index ec3344d7..12a27df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ **Merged pull requests:** - Release v2.1.5-2023.10 🎉 -- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305) ([belomaxorka](https://github.com/belomaxorka)) +- Minor improvements [\#297](https://github.com/torrentpier/torrentpier-lts/pull/297), [\#298](https://github.com/torrentpier/torrentpier-lts/pull/298), [\#300](https://github.com/torrentpier/torrentpier-lts/pull/300), [\#301](https://github.com/torrentpier/torrentpier-lts/pull/301), [\#302](https://github.com/torrentpier/torrentpier-lts/pull/302), [\#303](https://github.com/torrentpier/torrentpier-lts/pull/303), [\#304](https://github.com/torrentpier/torrentpier-lts/pull/304), [\#305](https://github.com/torrentpier/torrentpier-lts/pull/305), [\#306](https://github.com/torrentpier/torrentpier-lts/pull/306) ([belomaxorka](https://github.com/belomaxorka)) ## [v2.1.5-2023.09](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.09) (2023-10-04) [Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08-HotFix...v2.1.5-2023.09) diff --git a/admin/pagestart.php b/admin/pagestart.php index 15ea72b9..8d0d80f6 100644 --- a/admin/pagestart.php +++ b/admin/pagestart.php @@ -1,9 +1,8 @@ request['type']) case 'add': if (!isset($this->request['topic_id'])) { - $this->ajax_die('empty topic_id'); + $this->ajax_die($lang['INVALID_TOPIC_ID']); } if (bf($userdata['user_opt'], 'user_opt', 'dis_post')) @@ -325,4 +325,4 @@ switch($this->request['type']) default: $this->ajax_die('empty type'); break; -} \ No newline at end of file +} diff --git a/login.php b/login.php index b4b2732a..4988d5a6 100644 --- a/login.php +++ b/login.php @@ -1,8 +1,8 @@ session_start(array('req_login' => true)); diff --git a/privmsg.php b/privmsg.php index e8dc2ceb..57c4f619 100644 --- a/privmsg.php +++ b/privmsg.php @@ -1,8 +1,8 @@ ', ''); bb_die($msg); -} \ No newline at end of file +} diff --git a/search.php b/search.php index 12bae670..38614ab8 100644 --- a/search.php +++ b/search.php @@ -3,7 +3,6 @@ define('BB_SCRIPT', 'search'); define('BB_ROOT', './'); require(BB_ROOT . 'common.php'); - require(INC_DIR . 'bbcode.php'); require(CLASS_DIR . 'utf8.php'); require(CLASS_DIR . 'correct.php');