mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
Some reported bugfixes (#1200)
* Some reported bugfixes * Update CHANGELOG.md
This commit is contained in:
parent
8f1c66a26b
commit
72ad36d0e2
3 changed files with 5 additions and 2 deletions
|
@ -22,6 +22,9 @@
|
|||
- Use one GET variable for filelisting [\#1193](https://github.com/torrentpier/torrentpier/pull/1193) ([kovalensky](https://github.com/kovalensky))
|
||||
- Refactored poll.php [\#1194](https://github.com/torrentpier/torrentpier/pull/1194) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Removed useless global $lang; from info.php [\#1195](https://github.com/torrentpier/torrentpier/pull/1195) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Update file_list_v2.php [\#1196](https://github.com/torrentpier/torrentpier/pull/1196), [\#1197](https://github.com/torrentpier/torrentpier/pull/1197), [\#1199](https://github.com/torrentpier/torrentpier/pull/1199) ([kovalensky](https://github.com/kovalensky))
|
||||
- Small code re-format for scrape.php [\#1198](https://github.com/torrentpier/torrentpier/pull/1198) ([kovalensky](https://github.com/kovalensky))
|
||||
- Some reported bugfixes [\#1200](https://github.com/torrentpier/torrentpier/pull/1200) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Updated deps [\#1177](https://github.com/torrentpier/torrentpier/pull/1177), [\#1178](https://github.com/torrentpier/torrentpier/pull/1178),[\#1183](https://github.com/torrentpier/torrentpier/pull/1183), [\#1184](https://github.com/torrentpier/torrentpier/pull/1184) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- New Crowdin updates [\#1179](https://github.com/torrentpier/torrentpier/pull/1179), [\#1182](https://github.com/torrentpier/torrentpier/pull/1182), [\#1191](https://github.com/torrentpier/torrentpier/pull/1191) ([Exileum](https://github.com/Exileum))
|
||||
|
||||
|
|
2
info.php
2
info.php
|
@ -17,7 +17,7 @@ $user->session_start();
|
|||
$info = [];
|
||||
$htmlDir = LANG_DIR . 'html/';
|
||||
|
||||
switch ((string)$_REQUEST['show']) {
|
||||
switch ((string)$_REQUEST['show'] ?? 'not_found') {
|
||||
case 'advert':
|
||||
$info['title'] = $lang['ADVERT'];
|
||||
$info['src'] = 'advert.html';
|
||||
|
|
|
@ -110,7 +110,7 @@ switch ($this->request['type']) {
|
|||
$message = htmlCHR($message, false, ENT_NOQUOTES);
|
||||
|
||||
$this->response['message_html'] = bbcode2html($message);
|
||||
$this->response['res_id'] = $this->request['res_id'];
|
||||
$this->response['res_id'] = @$this->request['res_id'];
|
||||
break;
|
||||
|
||||
case 'edit':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue