diff options
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/cache/service.php | 12 | ||||
| -rw-r--r-- | phpBB/phpbb/composer.json | 27 | 
2 files changed, 30 insertions, 9 deletions
| diff --git a/phpBB/phpbb/cache/service.php b/phpBB/phpbb/cache/service.php index b890d90558..56727c2ad5 100644 --- a/phpBB/phpbb/cache/service.php +++ b/phpBB/phpbb/cache/service.php @@ -168,18 +168,12 @@ class service  			{  				if ($row['rank_special'])  				{ -					$ranks['special'][$row['rank_id']] = array( -						'rank_title'	=>	$row['rank_title'], -						'rank_image'	=>	$row['rank_image'] -					); +					unset($row['rank_min']); +					$ranks['special'][$row['rank_id']] = $row;  				}  				else  				{ -					$ranks['normal'][] = array( -						'rank_title'	=>	$row['rank_title'], -						'rank_min'		=>	$row['rank_min'], -						'rank_image'	=>	$row['rank_image'] -					); +					$ranks['normal'][$row['rank_id']] = $row;  				}  			}  			$this->db->sql_freeresult($result); diff --git a/phpBB/phpbb/composer.json b/phpBB/phpbb/composer.json new file mode 100644 index 0000000000..513d7e4559 --- /dev/null +++ b/phpBB/phpbb/composer.json @@ -0,0 +1,27 @@ +{ +	"name": "phpbb/phpbb-core", +	"description": "Collection of core phpBB libraries", +	"type": "library", +	"keywords": ["phpbb", "forum"], +	"homepage": "https://www.phpbb.com", +	"license": "GPL-2.0", +	"authors": [ +		{ +			"name": "phpBB Limited", +			"email": "operations@phpbb.com", +			"homepage": "https://www.phpbb.com/go/authors" +		} +	], +	"support": { +		"issues": "https://tracker.phpbb.com", +		"forum": "https://www.phpbb.com/community/", +		"wiki": "https://wiki.phpbb.com", +		"irc": "irc://irc.freenode.org/phpbb" +	}, +	"autoload": { +		"classmap": [""] +	}, +	"require": { +		"php": ">=5.3.3" +    } +} | 
