@@ -490,7 +490,7 @@ |
||
| 490 | 490 | } |
| 491 | 491 | else |
| 492 | 492 | { |
| 493 | - list ($context['login_token_var'], , , $context['login_token']) = $_SESSION['token']['post-login']; |
|
| 493 | + list ($context['login_token_var'],,, $context['login_token']) = $_SESSION['token']['post-login']; |
|
| 494 | 494 | } |
| 495 | 495 | |
| 496 | 496 | // Do we perhaps think this is a search robot? Check every five minutes just in case... |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | Cache::instance()->clean('data'); |
| 51 | 51 | |
| 52 | 52 | // If warning decrement is enabled and we have people who have not had a new warning in 24 hours, lower their warning level. |
| 53 | - list (, , $modSettings['warning_decrement']) = explode(',', $modSettings['warning_settings']); |
|
| 53 | + list (,, $modSettings['warning_decrement']) = explode(',', $modSettings['warning_settings']); |
|
| 54 | 54 | if ($modSettings['warning_decrement']) |
| 55 | 55 | { |
| 56 | 56 | // Find every member who has a warning level... |
@@ -1237,7 +1237,7 @@ |
||
| 1237 | 1237 | // Check whether they are interested. |
| 1238 | 1238 | if (!empty($member['mod_prefs'])) |
| 1239 | 1239 | { |
| 1240 | - list (, , $pref_binary) = explode('|', $member['mod_prefs']); |
|
| 1240 | + list (,, $pref_binary) = explode('|', $member['mod_prefs']); |
|
| 1241 | 1241 | if (!($pref_binary & 4)) |
| 1242 | 1242 | { |
| 1243 | 1243 | continue; |
@@ -696,7 +696,7 @@ |
||
| 696 | 696 | // Maybe they don't want to know?! |
| 697 | 697 | if (!empty($row['mod_prefs'])) |
| 698 | 698 | { |
| 699 | - list (, , $pref_binary) = explode('|', $row['mod_prefs']); |
|
| 699 | + list (,, $pref_binary) = explode('|', $row['mod_prefs']); |
|
| 700 | 700 | if (!($pref_binary & 1) && (!($pref_binary & 2) || !in_array($row['id_member'], $real_mods))) |
| 701 | 701 | { |
| 702 | 702 | continue; |
@@ -79,8 +79,7 @@ |
||
| 79 | 79 | $sound_letter = substr($sound_letter, strpos($sound_letter, 'data') + 8); |
| 80 | 80 | switch ($word[$i] === 's' ? 0 : mt_rand(0, 2)) |
| 81 | 81 | { |
| 82 | - case 0: |
|
| 83 | - for ($j = 0, $n = strlen($sound_letter); $j < $n; $j++) |
|
| 82 | + case 0 : for ($j = 0, $n = strlen($sound_letter); $j < $n; $j++) |
|
| 84 | 83 | { |
| 85 | 84 | for ($k = 0, $m = round(mt_rand(15, 25) / 10); $k < $m; $k++) |
| 86 | 85 | { |
@@ -423,7 +423,6 @@ |
||
| 423 | 423 | echo ' |
| 424 | 424 | <span class="centertext">', $txt['statPanel_noPosts'], '</span>'; |
| 425 | 425 | } |
| 426 | - |
|
| 427 | 426 | else |
| 428 | 427 | { |
| 429 | 428 | echo ' |
@@ -1330,7 +1330,7 @@ |
||
| 1330 | 1330 | if ($have_unapproved) |
| 1331 | 1331 | { |
| 1332 | 1332 | // Unapproved attachments go first. |
| 1333 | - usort($attachmentData, function($a, $b) { |
|
| 1333 | + usort($attachmentData, function ($a, $b) { |
|
| 1334 | 1334 | if ($a['is_approved'] === $b['is_approved']) |
| 1335 | 1335 | { |
| 1336 | 1336 | return 0; |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | // Check whether they are interested. |
| 168 | 168 | if (!empty($row['mod_prefs'])) |
| 169 | 169 | { |
| 170 | - list (, , $pref_binary) = explode('|', $row['mod_prefs']); |
|
| 170 | + list (,, $pref_binary) = explode('|', $row['mod_prefs']); |
|
| 171 | 171 | if (!($pref_binary & 4)) |
| 172 | 172 | { |
| 173 | 173 | return; |
@@ -284,7 +284,7 @@ |
||
| 284 | 284 | |
| 285 | 285 | if (count($this->_polls) > 1) |
| 286 | 286 | { |
| 287 | - $this->_db->fetchQuery( ' |
|
| 287 | + $this->_db->fetchQuery(' |
|
| 288 | 288 | SELECT |
| 289 | 289 | t.id_topic, t.id_poll, m.subject, p.question |
| 290 | 290 | FROM {db_prefix}polls AS p |