diff --git a/phpBB/functions/functions.php b/phpBB/functions/functions.php
index eba819730e..dbd24b4de4 100644
--- a/phpBB/functions/functions.php
+++ b/phpBB/functions/functions.php
@@ -1,28 +1,28 @@
sql_query($sql))
{
return 'ERROR';
@@ -82,7 +82,7 @@ function make_jumpbox($db)
WHERE f.cat_id = c.cat_id
GROUP BY c.cat_id, c.cat_title, c.cat_order
ORDER BY c.cat_order";
- if(!$q_categories = $db->sql_query($sql))
+ if(!$q_categories = $db->sql_query($sql))
{
$db_error = $db->sql_error();
error_die(SQL_QUERY, "Couldn't obtain category list.", __LINE__, __FILE__);
@@ -94,9 +94,9 @@ function make_jumpbox($db)
$category_rows = $db->sql_fetchrowset($q_categories);
$limit_forums = "";
-
+
$sql = "SELECT *
- FROM ".FORUMS_TABLE."
+ FROM ".FORUMS_TABLE."
ORDER BY cat_id, forum_order";
if(!$q_forums = $db->sql_query($sql))
{
@@ -111,7 +111,7 @@ function make_jumpbox($db)
$boxstring .= "\n";
$boxstring .= "\n";
$boxstring .= "\n";
-
+
if($total_forums)
{
for($y = 0; $y < $total_forums; $y++)
@@ -123,7 +123,7 @@ function make_jumpbox($db)
}
}
}
- else
+ else
{
$boxstring .= "\n";
}
@@ -142,9 +142,9 @@ function language_select($default, $name="language", $dirname="language/")
global $phpEx;
$dir = opendir($dirname);
$lang_select = "