Skip to content

Commit

Permalink
Minor improvements (#201)
Browse files Browse the repository at this point in the history
* Minor improvements

* Update CHANGELOG.md
  • Loading branch information
belomaxorka committed Jun 29, 2023
1 parent fe991fa commit a349479
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- Corrected translations [\#183](https://github.com/torrentpier/torrentpier-lts/pull/183) ([belomaxorka](https://github.com/belomaxorka))
- Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka))
- IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194), [\#195](https://github.com/torrentpier/torrentpier-lts/pull/195), [\#199](https://github.com/torrentpier/torrentpier-lts/pull/199), [\#200](https://github.com/torrentpier/torrentpier-lts/pull/200) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181), [\#187](https://github.com/torrentpier/torrentpier-lts/pull/187), [\#192](https://github.com/torrentpier/torrentpier-lts/pull/192), [\#194](https://github.com/torrentpier/torrentpier-lts/pull/194), [\#195](https://github.com/torrentpier/torrentpier-lts/pull/195), [\#199](https://github.com/torrentpier/torrentpier-lts/pull/199), [\#200](https://github.com/torrentpier/torrentpier-lts/pull/200), [\#201](https://github.com/torrentpier/torrentpier-lts/pull/201) ([belomaxorka](https://github.com/belomaxorka))
- Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka))
- Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka))

Expand Down
4 changes: 2 additions & 2 deletions library/includes/functions_torrent.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ function send_torrent_with_passkey ($filename)

if (bf($userdata['user_opt'], 'user_opt', 'dis_passkey') && !IS_GUEST)
{
bb_die('Could not add passkey');
bb_die($lang['DISALLOWED']);
}

if ($bt_userdata = get_bt_userdata($user_id))
Expand Down Expand Up @@ -860,4 +860,4 @@ function bdecode_r ($str, &$pos)
}
}
}
}
}
4 changes: 2 additions & 2 deletions library/includes/page_footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
$template->pparse('page_footer');
}

$show_dbg_info = (DBG_USER && IS_ADMIN && !(isset($_GET['pane']) && $_GET['pane'] == 'left'));
$show_dbg_info = (DBG_USER && !(isset($_GET['pane']) && $_GET['pane'] == 'left'));

if(!$bb_cfg['gzip_compress'])
{
Expand Down Expand Up @@ -75,7 +75,7 @@
</div><!--/body_container-->
';

if (DBG_USER && SQL_DEBUG && !(isset($_GET['pane']) && $_GET['pane'] == 'left'))
if ($show_dbg_info && SQL_DEBUG)
{
require(INC_DIR . 'page_footer_dev.php');
}
Expand Down

0 comments on commit a349479

Please sign in to comment.