@@ -295,7 +295,8 @@ discard block |
||
295 | 295 | // Call the step and if it returns false that means pause! |
296 | 296 | if (function_exists($step[2]) && $step[2]() === false) |
297 | 297 | break; |
298 | - elseif (function_exists($step[2])) { |
|
298 | + elseif (function_exists($step[2])) |
|
299 | + { |
|
299 | 300 | //Start each new step with this unset, so the 'normal' template is called first |
300 | 301 | unset($_GET['xml']); |
301 | 302 | //Clear out warnings at the start of each step |
@@ -2915,7 +2916,8 @@ discard block |
||
2915 | 2916 | $upcontext['step_progress'] = (int) (($upcontext['cur_table_num'] / $upcontext['table_count']) * 100); |
2916 | 2917 | |
2917 | 2918 | // Make sure we're ready & have painted the template before proceeding |
2918 | - if ($support_js && !isset($_GET['xml'])) { |
|
2919 | + if ($support_js && !isset($_GET['xml'])) |
|
2920 | + { |
|
2919 | 2921 | $_GET['substep'] = 0; |
2920 | 2922 | return false; |
2921 | 2923 | } |
@@ -2968,7 +2970,8 @@ discard block |
||
2968 | 2970 | list($charset) = explode('_', $collation); |
2969 | 2971 | |
2970 | 2972 | // Build structure of columns to operate on organized by charset; only operate on columns not yet utf8 |
2971 | - if ($charset != 'utf8') { |
|
2973 | + if ($charset != 'utf8') |
|
2974 | + { |
|
2972 | 2975 | if (!isset($table_charsets[$charset])) |
2973 | 2976 | $table_charsets[$charset] = array(); |
2974 | 2977 |
@@ -419,7 +419,7 @@ |
||
419 | 419 | $board['last_post']['last_post_message'] = sprintf($txt['last_post_message'], $board['last_post']['member']['link'], $board['last_post']['link'], $board['last_post']['time'] > 0 ? timeformat($board['last_post']['time']) : $txt['not_applicable']); |
420 | 420 | } |
421 | 421 | } |
422 | - else |
|
422 | + else |
|
423 | 423 | foreach ($this_category as &$board ) |
424 | 424 | { |
425 | 425 | if (!empty($moderators[$board['id']])) |