aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migration/tool/config.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-02-22 20:23:30 -0800
committerCesar G <prototech91@gmail.com>2014-02-22 20:23:30 -0800
commit249b9dcdb5a19e3d380a28f3df403106a41fadff (patch)
tree742abbcaeba0190b54058c365fa69ee5954da6a3 /phpBB/phpbb/db/migration/tool/config.php
parentfc33a0c1763da363ff3063bd0c42a715a673c622 (diff)
downloadforums-249b9dcdb5a19e3d380a28f3df403106a41fadff.tar
Diffstat (limited to 'phpBB') PHPBB3-12160
Diffstat (limited to 'phpBB/phpbb/db/migration/tool/config.php')
-rw-r--r--phpBB/includes/acp/acp_styles.php7
0 files changed, 0 insertions, 0 deletions
ile = {PARSE_CSS_FILE}
global $user, $template, $db, $config, $phpbb_root_path, $phpEx;
$sql_from = '';
+ $sql_sort = 'LOWER(' . $mode . '_name)';
$style_count = array();
switch ($mode)
@@ -571,6 +572,9 @@ parse_css_file = {PARSE_CSS_FILE}
case 'imageset':
$sql_from = STYLES_IMAGESET_TABLE;
break;
+
+ default:
+ trigger_error($user->lang['NO_MODE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$l_prefix = strtoupper($mode);
@@ -594,7 +598,8 @@ parse_css_file = {PARSE_CSS_FILE}
);
$sql = "SELECT *
- FROM $sql_from";
+ FROM $sql_from
+ ORDER BY $sql_sort ASC";
$result = $db->sql_query($sql);
$installed = array();