aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_ranks.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_ranks.php')
-rw-r--r--phpBB/includes/acp/acp_ranks.php20
1 files changed, 14 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_ranks.php b/phpBB/includes/acp/acp_ranks.php
index bb69d1e53e..51561e03f1 100644
--- a/phpBB/includes/acp/acp_ranks.php
+++ b/phpBB/includes/acp/acp_ranks.php
@@ -1,14 +1,22 @@
<?php
-/**
+/**
*
* @package acp
* @version $Id$
-* @copyright (c) 2005 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
+*/
+if (!defined('IN_PHPBB'))
+{
+ exit;
+}
+
+/**
* @package acp
*/
class acp_ranks
@@ -138,8 +146,8 @@ class acp_ranks
$data = $ranks = $existing_imgs = array();
- $sql = 'SELECT *
- FROM ' . RANKS_TABLE . '
+ $sql = 'SELECT *
+ FROM ' . RANKS_TABLE . '
ORDER BY rank_min ASC, rank_special ASC';
$result = $db->sql_query($sql);
@@ -163,7 +171,7 @@ class acp_ranks
foreach ($img_ary as $img)
{
- $img = $path . $img;
+ $img = $path . $img;
if (!in_array($img, $existing_imgs) || $action == 'edit')
{