Completed
Push — trunk ( 00de45...5b46f5 )
by SuperNova.WS
07:10
created
includes/template.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -283,8 +283,8 @@  discard block
 block discarded – undo
283 283
     displayP($page_item);
284 284
   }
285 285
 
286
-  if(is_array($template_result[TEMPLATE_EXTRA_ARRAY]) && !empty($template_result[TEMPLATE_EXTRA_ARRAY])) {
287
-    foreach($template_result[TEMPLATE_EXTRA_ARRAY] as $extraName => $extraTemplate) {
286
+  if (is_array($template_result[TEMPLATE_EXTRA_ARRAY]) && !empty($template_result[TEMPLATE_EXTRA_ARRAY])) {
287
+    foreach ($template_result[TEMPLATE_EXTRA_ARRAY] as $extraName => $extraTemplate) {
288 288
       /**
289 289
        * @var template $extraTemplate
290 290
        */
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
     renderFooter();
298 298
   }
299 299
 
300
-  $user['authlevel'] >= 3 && $config->debug ? $debug->echo_log() : false;;
300
+  $user['authlevel'] >= 3 && $config->debug ? $debug->echo_log() : false; ;
301 301
 
302 302
   sn_db_disconnect();
303 303
 
@@ -679,7 +679,7 @@  discard block
 block discarded – undo
679 679
     'QUE_ID'   => QUE_RESEARCH,
680 680
     'QUE_HTML' => 'topnav',
681 681
 
682
-    'RESEARCH_ONGOING' => (boolean)$user['que'],
682
+    'RESEARCH_ONGOING' => (boolean) $user['que'],
683 683
 
684 684
     'TIME_TEXT'       => sprintf($str_date_format, $time_now_parsed['year'], $lang['months'][$time_now_parsed['mon']], $time_now_parsed['mday'],
685 685
       $time_now_parsed['hours'], $time_now_parsed['minutes'], $time_now_parsed['seconds']
@@ -972,7 +972,7 @@  discard block
 block discarded – undo
972 972
     'LANG'     => $language ? $language : '',
973 973
     'referral' => $id_ref ? '&id_ref=' . $id_ref : '',
974 974
 
975
-    'REQUEST_PARAMS' => !empty($url_params) ? '?' . implode('&', $url_params) : '',// "?lang={$language}" . ($id_ref ? "&id_ref={$id_ref}" : ''),
975
+    'REQUEST_PARAMS' => !empty($url_params) ? '?' . implode('&', $url_params) : '', // "?lang={$language}" . ($id_ref ? "&id_ref={$id_ref}" : ''),
976 976
     'FILENAME'       => basename($_SERVER['PHP_SELF']),
977 977
   ));
978 978
 
Please login to merge, or discard this patch.