mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Miscellaneous static analysis improvements for php 7.1 (#620)
* Miscellaneous static analysis improvements for php 7.1 * Update changes.txt
This commit is contained in:
parent
4e8e181d8c
commit
7019d31353
37 changed files with 156 additions and 151 deletions
|
@ -98,6 +98,7 @@ function download_select($select_name, $group_id = 0)
|
|||
function category_select($select_name, $group_id = 0)
|
||||
{
|
||||
global $types_category, $modes_category;
|
||||
$category_type = null;
|
||||
|
||||
$sql = 'SELECT group_id, cat_id FROM ' . BB_EXTENSION_GROUPS;
|
||||
|
||||
|
@ -172,6 +173,7 @@ function size_select($select_name, $size_compare)
|
|||
function quota_limit_select($select_name, $default_quota = 0)
|
||||
{
|
||||
global $lang;
|
||||
$quota_name = [];
|
||||
|
||||
$sql = 'SELECT quota_limit_id, quota_desc FROM ' . BB_QUOTA_LIMITS . ' ORDER BY quota_limit ASC';
|
||||
|
||||
|
@ -203,6 +205,7 @@ function quota_limit_select($select_name, $default_quota = 0)
|
|||
function default_quota_limit_select($select_name, $default_quota = 0)
|
||||
{
|
||||
global $lang;
|
||||
$quota_name = [];
|
||||
|
||||
$sql = 'SELECT quota_limit_id, quota_desc FROM ' . BB_QUOTA_LIMITS . ' ORDER BY quota_limit ASC';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue