@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | { |
| 317 | 317 | // PHP only supports $this inside anonymous functions since 5.4 |
| 318 | 318 | $minifier = $this; |
| 319 | - $callback = function ($match) use ($minifier) { |
|
| 319 | + $callback = function($match) use ($minifier) { |
|
| 320 | 320 | // check the second index here, because the first always contains a quote |
| 321 | 321 | if (!$match[2]) { |
| 322 | 322 | /* |
@@ -329,8 +329,8 @@ discard block |
||
| 329 | 329 | } |
| 330 | 330 | |
| 331 | 331 | $count = count($minifier->extracted); |
| 332 | - $placeholder = $match[1].$count.$match[1]; |
|
| 333 | - $minifier->extracted[$placeholder] = $match[1].$match[2].$match[1]; |
|
| 332 | + $placeholder = $match[1] . $count . $match[1]; |
|
| 333 | + $minifier->extracted[$placeholder] = $match[1] . $match[2] . $match[1]; |
|
| 334 | 334 | |
| 335 | 335 | return $placeholder; |
| 336 | 336 | }; |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | * considered as escape-char (times 2) and to get it in the regex, |
| 348 | 348 | * escaped (times 2) |
| 349 | 349 | */ |
| 350 | - $this->registerPattern('/(['.$chars.'])(.*?(?<!\\\\)(\\\\\\\\)*+)\\1/s', $callback); |
|
| 350 | + $this->registerPattern('/([' . $chars . '])(.*?(?<!\\\\)(\\\\\\\\)*+)\\1/s', $callback); |
|
| 351 | 351 | } |
| 352 | 352 | |
| 353 | 353 | /** |
@@ -397,7 +397,7 @@ discard block |
||
| 397 | 397 | protected function openFileForWriting($path) |
| 398 | 398 | { |
| 399 | 399 | if (($handler = @fopen($path, 'w')) === false) { |
| 400 | - throw new IOException('The file "'.$path.'" could not be opened for writing. Check if PHP has enough permissions.'); |
|
| 400 | + throw new IOException('The file "' . $path . '" could not be opened for writing. Check if PHP has enough permissions.'); |
|
| 401 | 401 | } |
| 402 | 402 | |
| 403 | 403 | return $handler; |
@@ -415,7 +415,7 @@ discard block |
||
| 415 | 415 | protected function writeToFile($handler, $content, $path = '') |
| 416 | 416 | { |
| 417 | 417 | if (($result = @fwrite($handler, $content)) === false || ($result < strlen($content))) { |
| 418 | - throw new IOException('The file "'.$path.'" could not be written to. Check your disk space and file permissions.'); |
|
| 418 | + throw new IOException('The file "' . $path . '" could not be written to. Check your disk space and file permissions.'); |
|
| 419 | 419 | } |
| 420 | 420 | } |
| 421 | 421 | } |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | ) |
| 361 | 361 | ); |
| 362 | 362 | $context['messages'] = array(); |
| 363 | - for ($counter = 0; $row = $smcFunc['db_fetch_assoc']($request); $counter ++) |
|
| 363 | + for ($counter = 0; $row = $smcFunc['db_fetch_assoc']($request); $counter++) |
|
| 364 | 364 | { |
| 365 | 365 | censorText($row['subject']); |
| 366 | 366 | censorText($row['body']); |
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | ) |
| 401 | 401 | ); |
| 402 | 402 | $context['messages'] = array(); |
| 403 | - for ($counter = 0; $row = $smcFunc['db_fetch_assoc']($request); $counter ++) |
|
| 403 | + for ($counter = 0; $row = $smcFunc['db_fetch_assoc']($request); $counter++) |
|
| 404 | 404 | { |
| 405 | 405 | censorText($row['subject']); |
| 406 | 406 | censorText($row['body']); |
@@ -1098,7 +1098,7 @@ discard block |
||
| 1098 | 1098 | $firstTopic = $row['id_topic']; |
| 1099 | 1099 | |
| 1100 | 1100 | // Lowest topic id gets selected as surviving topic id. We need to store this board so we can adjust the topic count (This one will not have a redirect topic) |
| 1101 | - if($row['id_topic'] < $lowestTopicId || empty($lowestTopicId) ) |
|
| 1101 | + if ($row['id_topic'] < $lowestTopicId || empty($lowestTopicId)) |
|
| 1102 | 1102 | { |
| 1103 | 1103 | $lowestTopicId = $row['id_topic']; |
| 1104 | 1104 | $lowestTopicBoard = $row['id_board']; |
@@ -1404,7 +1404,7 @@ discard block |
||
| 1404 | 1404 | } |
| 1405 | 1405 | |
| 1406 | 1406 | // Update subject search index |
| 1407 | - updateStats('subject',$this_old_topic,$redirect_subject); |
|
| 1407 | + updateStats('subject', $this_old_topic, $redirect_subject); |
|
| 1408 | 1408 | } |
| 1409 | 1409 | } |
| 1410 | 1410 | |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | // Prepare the pagination vars. |
| 369 | 369 | $maxIndex = 10; |
| 370 | 370 | $start = (int) isset($_REQUEST['start']) ? $_REQUEST['start'] : 0; |
| 371 | - $count = alert_count($memID); |
|
| 371 | + $count = alert_count($memID); |
|
| 372 | 372 | |
| 373 | 373 | // Get the alerts. |
| 374 | 374 | $context['alerts'] = fetch_alerts($memID, true, false, array('start' => $start, 'maxIndex' => $maxIndex)); |
@@ -833,7 +833,7 @@ discard block |
||
| 833 | 833 | ), |
| 834 | 834 | ), |
| 835 | 835 | 'data_check' => array( |
| 836 | - 'class' => function ($data) |
|
| 836 | + 'class' => function($data) |
|
| 837 | 837 | { |
| 838 | 838 | return $data['approved'] ? '' : 'approvebg'; |
| 839 | 839 | } |
@@ -1536,7 +1536,7 @@ discard block |
||
| 1536 | 1536 | ), |
| 1537 | 1537 | 'data' => array( |
| 1538 | 1538 | 'sprintf' => array( |
| 1539 | - 'format' => '<a href="' . $scripturl . '?action=profile;area=tracking;sa=ip;searchip=%1$s;u=' . $memID. '">%1$s</a>', |
|
| 1539 | + 'format' => '<a href="' . $scripturl . '?action=profile;area=tracking;sa=ip;searchip=%1$s;u=' . $memID . '">%1$s</a>', |
|
| 1540 | 1540 | 'params' => array( |
| 1541 | 1541 | 'ip' => false, |
| 1542 | 1542 | ), |
@@ -531,14 +531,14 @@ discard block |
||
| 531 | 531 | |
| 532 | 532 | $thisAction = array( |
| 533 | 533 | 'type' => $action['reverse'] ? $txt['execute_hook_remove'] : $txt['execute_hook_add'], |
| 534 | - 'action' => sprintf($txt['execute_hook_action'. ($action['reverse'] ? '_inverse' : '')], $smcFunc['htmlspecialchars']($action['hook'])), |
|
| 534 | + 'action' => sprintf($txt['execute_hook_action' . ($action['reverse'] ? '_inverse' : '')], $smcFunc['htmlspecialchars']($action['hook'])), |
|
| 535 | 535 | ); |
| 536 | 536 | } |
| 537 | 537 | elseif ($action['type'] == 'credits') |
| 538 | 538 | { |
| 539 | 539 | $thisAction = array( |
| 540 | 540 | 'type' => $txt['execute_credits_add'], |
| 541 | - 'action' => sprintf($txt['execute_credits_action'], $smcFunc['htmlspecialchars']($action['title'])), |
|
| 541 | + 'action' => sprintf($txt['execute_credits_action'], $smcFunc['htmlspecialchars']($action['title'])), |
|
| 542 | 542 | ); |
| 543 | 543 | } |
| 544 | 544 | elseif ($action['type'] == 'requires') |
@@ -654,7 +654,7 @@ discard block |
||
| 654 | 654 | if ($context['uninstalling']) |
| 655 | 655 | $file = in_array($action['type'], array('remove-dir', 'remove-file')) ? $action['filename'] : $packagesdir . '/temp/' . $context['base_path'] . $action['filename']; |
| 656 | 656 | else |
| 657 | - $file = $packagesdir . '/temp/' . $context['base_path'] . $action['filename']; |
|
| 657 | + $file = $packagesdir . '/temp/' . $context['base_path'] . $action['filename']; |
|
| 658 | 658 | } |
| 659 | 659 | |
| 660 | 660 | // Don't fail if a file/directory we're trying to create doesn't exist... |
@@ -758,7 +758,7 @@ discard block |
||
| 758 | 758 | $context['ftp_needed'] = !empty($ftp_status['files']['notwritable']) && !empty($context['package_ftp']); |
| 759 | 759 | } |
| 760 | 760 | |
| 761 | - $context['post_url'] = $scripturl .'?action=admin;area=packages;sa=' . ($context['uninstalling'] ? 'uninstall' : 'install') . ($context['ftp_needed'] ? '' : '2') . ';package=' . $context['filename'] . ';pid=' . $context['install_id']; |
|
| 761 | + $context['post_url'] = $scripturl . '?action=admin;area=packages;sa=' . ($context['uninstalling'] ? 'uninstall' : 'install') . ($context['ftp_needed'] ? '' : '2') . ';package=' . $context['filename'] . ';pid=' . $context['install_id']; |
|
| 762 | 762 | checkSubmitOnce('register'); |
| 763 | 763 | } |
| 764 | 764 | |
@@ -1180,7 +1180,7 @@ discard block |
||
| 1180 | 1180 | '{db_prefix}log_packages', |
| 1181 | 1181 | array( |
| 1182 | 1182 | 'filename' => 'string', 'name' => 'string', 'package_id' => 'string', 'version' => 'string', |
| 1183 | - 'id_member_installed' => 'int', 'member_installed' => 'string','time_installed' => 'int', |
|
| 1183 | + 'id_member_installed' => 'int', 'member_installed' => 'string', 'time_installed' => 'int', |
|
| 1184 | 1184 | 'install_state' => 'int', 'failed_steps' => 'string', 'themes_installed' => 'string', |
| 1185 | 1185 | 'member_removed' => 'int', 'db_changes' => 'string', 'credits' => 'string', |
| 1186 | 1186 | ), |
@@ -1383,7 +1383,7 @@ discard block |
||
| 1383 | 1383 | 'style' => 'width: 40px;', |
| 1384 | 1384 | ), |
| 1385 | 1385 | 'data' => array( |
| 1386 | - 'function' => function ($package_md5) use ($type, &$context) |
|
| 1386 | + 'function' => function($package_md5) use ($type, &$context) |
|
| 1387 | 1387 | { |
| 1388 | 1388 | if (isset($context['available_' . $type . ''][$package_md5])) |
| 1389 | 1389 | return $context['available_' . $type . ''][$package_md5]['sort_id']; |
@@ -1400,7 +1400,7 @@ discard block |
||
| 1400 | 1400 | 'style' => 'width: 25%;', |
| 1401 | 1401 | ), |
| 1402 | 1402 | 'data' => array( |
| 1403 | - 'function' => function ($package_md5) use ($type, &$context) |
|
| 1403 | + 'function' => function($package_md5) use ($type, &$context) |
|
| 1404 | 1404 | { |
| 1405 | 1405 | if (isset($context['available_' . $type . ''][$package_md5])) |
| 1406 | 1406 | return $context['available_' . $type . ''][$package_md5]['name']; |
@@ -1416,7 +1416,7 @@ discard block |
||
| 1416 | 1416 | 'value' => $txt['mod_version'], |
| 1417 | 1417 | ), |
| 1418 | 1418 | 'data' => array( |
| 1419 | - 'function' => function ($package_md5) use ($type, &$context) |
|
| 1419 | + 'function' => function($package_md5) use ($type, &$context) |
|
| 1420 | 1420 | { |
| 1421 | 1421 | if (isset($context['available_' . $type . ''][$package_md5])) |
| 1422 | 1422 | return $context['available_' . $type . ''][$package_md5]['version']; |
@@ -1432,7 +1432,7 @@ discard block |
||
| 1432 | 1432 | 'value' => $txt['mod_installed_time'], |
| 1433 | 1433 | ), |
| 1434 | 1434 | 'data' => array( |
| 1435 | - 'function' => function ($package_md5) use ($type, $txt, &$context) |
|
| 1435 | + 'function' => function($package_md5) use ($type, $txt, &$context) |
|
| 1436 | 1436 | { |
| 1437 | 1437 | if (isset($context['available_' . $type . ''][$package_md5])) |
| 1438 | 1438 | return !empty($context['available_' . $type . ''][$package_md5]['time_installed']) ? timeformat($context['available_' . $type . ''][$package_md5]['time_installed']) : $txt['not_applicable']; |
@@ -1449,7 +1449,7 @@ discard block |
||
| 1449 | 1449 | 'value' => '', |
| 1450 | 1450 | ), |
| 1451 | 1451 | 'data' => array( |
| 1452 | - 'function' => function ($package_md5) use ($type, &$context, $scripturl, $txt) |
|
| 1452 | + 'function' => function($package_md5) use ($type, &$context, $scripturl, $txt) |
|
| 1453 | 1453 | { |
| 1454 | 1454 | if (!isset($context['available_' . $type . ''][$package_md5])) |
| 1455 | 1455 | return ''; |
@@ -1734,7 +1734,7 @@ discard block |
||
| 1734 | 1734 | { |
| 1735 | 1735 | $sort_id['modification']++; |
| 1736 | 1736 | $sort_id['mod']++; |
| 1737 | - $packages['modification'][strtolower($packageInfo[$sort]) . '_' . $sort_id['mod']] = md5($package); |
|
| 1737 | + $packages['modification'][strtolower($packageInfo[$sort]) . '_' . $sort_id['mod']] = md5($package); |
|
| 1738 | 1738 | $context['available_modification'][md5($package)] = $packageInfo; |
| 1739 | 1739 | } |
| 1740 | 1740 | // Avatar package. |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | 'value' => $txt['name'], |
| 97 | 97 | ), |
| 98 | 98 | 'data' => array( |
| 99 | - 'function' => function ($rowData) use ($scripturl) |
|
| 99 | + 'function' => function($rowData) use ($scripturl) |
|
| 100 | 100 | { |
| 101 | 101 | // Since the moderator group has no explicit members, no link is needed. |
| 102 | 102 | if ($rowData['id_group'] == 3) |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | 'value' => $txt['moderators'], |
| 147 | 147 | ), |
| 148 | 148 | 'data' => array( |
| 149 | - 'function' => function ($group) use ($txt) |
|
| 149 | + 'function' => function($group) use ($txt) |
|
| 150 | 150 | { |
| 151 | 151 | return empty($group['moderators']) ? '<em>' . $txt['membergroups_new_copy_none'] . '</em>' : implode(', ', $group['moderators']); |
| 152 | 152 | }, |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | 'value' => $txt['membergroups_members_top'], |
| 158 | 158 | ), |
| 159 | 159 | 'data' => array( |
| 160 | - 'function' => function ($rowData) use ($txt) |
|
| 160 | + 'function' => function($rowData) use ($txt) |
|
| 161 | 161 | { |
| 162 | 162 | // No explicit members for the moderator group. |
| 163 | 163 | return $rowData['id_group'] == 3 ? $txt['membergroups_guests_na'] : comma_format($rowData['num_members']); |
@@ -745,7 +745,7 @@ discard block |
||
| 745 | 745 | while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 746 | 746 | { |
| 747 | 747 | if (empty($row['reason'])) |
| 748 | - $reason = '<em>(' . $txt['mc_groupr_no_reason'] . ')</em>'; |
|
| 748 | + $reason = '<em>(' . $txt['mc_groupr_no_reason'] . ')</em>'; |
|
| 749 | 749 | else |
| 750 | 750 | $reason = censorText($row['reason']); |
| 751 | 751 | |
@@ -99,19 +99,19 @@ |
||
| 99 | 99 | { |
| 100 | 100 | if (isset($_COOKIE[$cookiename]) && preg_match('~^a:[34]:\{i:0;i:\d{1,7};i:1;s:(0|128):"([a-fA-F0-9]{128})?";i:2;[id]:\d{1,14};(i:3;i:\d;)?\}$~', $_COOKIE[$cookiename]) === 1) |
| 101 | 101 | { |
| 102 | - list (, , $timeout) = smf_json_decode($_COOKIE[$cookiename], true); |
|
| 102 | + list (,, $timeout) = smf_json_decode($_COOKIE[$cookiename], true); |
|
| 103 | 103 | |
| 104 | 104 | // That didn't work... Maybe it's using serialize? |
| 105 | 105 | if (is_null($timeout)) |
| 106 | - list (, , $timeout) = safe_unserialize($_COOKIE[$cookiename]); |
|
| 106 | + list (,, $timeout) = safe_unserialize($_COOKIE[$cookiename]); |
|
| 107 | 107 | } |
| 108 | 108 | elseif (isset($_SESSION['login_' . $cookiename])) |
| 109 | 109 | { |
| 110 | - list (, , $timeout) = smf_json_decode($_SESSION['login_' . $cookiename]); |
|
| 110 | + list (,, $timeout) = smf_json_decode($_SESSION['login_' . $cookiename]); |
|
| 111 | 111 | |
| 112 | 112 | // Try for old format |
| 113 | 113 | if (is_null($timeout)) |
| 114 | - list (, , $timeout) = safe_unserialize($_SESSION['login_' . $cookiename]); |
|
| 114 | + list (,, $timeout) = safe_unserialize($_SESSION['login_' . $cookiename]); |
|
| 115 | 115 | } |
| 116 | 116 | else |
| 117 | 117 | trigger_error('Login2(): Cannot be logged in without a session or cookie', E_USER_ERROR); |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | 'new' => false, |
| 108 | 108 | 'css_class' => '', |
| 109 | 109 | ); |
| 110 | - $categories[$row_board['id_cat']]['link'] = '<a id="c' . $row_board['id_cat'] . '"></a>' . (!$context['user']['is_guest'] ? '<a href="' . $scripturl . '?action=unread;c='. $row_board['id_cat'] . '" title="' . sprintf($txt['new_posts_in_category'], strip_tags($row_board['cat_name'])) . '">' . $row_board['cat_name'] . '</a>' : $row_board['cat_name']); |
|
| 110 | + $categories[$row_board['id_cat']]['link'] = '<a id="c' . $row_board['id_cat'] . '"></a>' . (!$context['user']['is_guest'] ? '<a href="' . $scripturl . '?action=unread;c=' . $row_board['id_cat'] . '" title="' . sprintf($txt['new_posts_in_category'], strip_tags($row_board['cat_name'])) . '">' . $row_board['cat_name'] . '</a>' : $row_board['cat_name']); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | // If this board has new posts in it (and isn't the recycle bin!) then the category is new. |
@@ -54,8 +54,8 @@ discard block |
||
| 54 | 54 | ); |
| 55 | 55 | |
| 56 | 56 | // Make our known/enable themes a little easier to work with. |
| 57 | - $knownThemes = !empty($modSettings['knownThemes']) ? explode(',',$modSettings['knownThemes']) : array(); |
|
| 58 | - $enableThemes = !empty($modSettings['enableThemes']) ? explode(',',$modSettings['enableThemes']) : array(); |
|
| 57 | + $knownThemes = !empty($modSettings['knownThemes']) ? explode(',', $modSettings['knownThemes']) : array(); |
|
| 58 | + $enableThemes = !empty($modSettings['enableThemes']) ? explode(',', $modSettings['enableThemes']) : array(); |
|
| 59 | 59 | |
| 60 | 60 | $request = $smcFunc['db_query']('', ' |
| 61 | 61 | SELECT id_theme, variable, value |
@@ -102,8 +102,8 @@ discard block |
||
| 102 | 102 | global $modSettings, $context, $smcFunc; |
| 103 | 103 | |
| 104 | 104 | // Make our known/enable themes a little easier to work with. |
| 105 | - $knownThemes = !empty($modSettings['knownThemes']) ? explode(',',$modSettings['knownThemes']) : array(); |
|
| 106 | - $enableThemes = !empty($modSettings['enableThemes']) ? explode(',',$modSettings['enableThemes']) : array(); |
|
| 105 | + $knownThemes = !empty($modSettings['knownThemes']) ? explode(',', $modSettings['knownThemes']) : array(); |
|
| 106 | + $enableThemes = !empty($modSettings['enableThemes']) ? explode(',', $modSettings['enableThemes']) : array(); |
|
| 107 | 107 | |
| 108 | 108 | // List of all possible themes values. |
| 109 | 109 | $themeValues = array( |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | 'no_member' => 0, |
| 285 | 285 | 'name' => 'name', |
| 286 | 286 | 'version' => 'version', |
| 287 | - 'name_value' => '%'. $context['to_install']['name'] .'%', |
|
| 287 | + 'name_value' => '%' . $context['to_install']['name'] . '%', |
|
| 288 | 288 | ) |
| 289 | 289 | ); |
| 290 | 290 | |
@@ -439,11 +439,11 @@ discard block |
||
| 439 | 439 | foreach ($objects as $object) |
| 440 | 440 | if ($object != '.' && $object != '..') |
| 441 | 441 | { |
| 442 | - if (filetype($path .'/'. $object) == 'dir') |
|
| 443 | - remove_dir($path .'/'.$object); |
|
| 442 | + if (filetype($path . '/' . $object) == 'dir') |
|
| 443 | + remove_dir($path . '/' . $object); |
|
| 444 | 444 | |
| 445 | 445 | else |
| 446 | - unlink($path .'/'. $object); |
|
| 446 | + unlink($path . '/' . $object); |
|
| 447 | 447 | } |
| 448 | 448 | } |
| 449 | 449 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | 'value' => $txt['admin_edit_news'], |
| 153 | 153 | ), |
| 154 | 154 | 'data' => array( |
| 155 | - 'function' => function ($news) |
|
| 155 | + 'function' => function($news) |
|
| 156 | 156 | { |
| 157 | 157 | if (is_numeric($news['id'])) |
| 158 | 158 | return '<textarea id="data_' . $news['id'] . '" rows="3" cols="50" name="news[]" class="padding block">' . $news['unparsed'] . '</textarea> |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | 'value' => $txt['preview'], |
| 169 | 169 | ), |
| 170 | 170 | 'data' => array( |
| 171 | - 'function' => function ($news) |
|
| 171 | + 'function' => function($news) |
|
| 172 | 172 | { |
| 173 | 173 | return '<div id="box_preview_' . $news['id'] . '" style="overflow: auto; width: 100%; height: 10ex;">' . $news['parsed'] . '</div>'; |
| 174 | 174 | }, |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | 'class' => 'centercol', |
| 182 | 182 | ), |
| 183 | 183 | 'data' => array( |
| 184 | - 'function' => function ($news) |
|
| 184 | + 'function' => function($news) |
|
| 185 | 185 | { |
| 186 | 186 | if (is_numeric($news['id'])) |
| 187 | 187 | return '<input type="checkbox" name="remove[]" value="' . $news['id'] . '" class="input_check">'; |
@@ -431,7 +431,7 @@ discard block |
||
| 431 | 431 | * Prepare subject and message of an email for the preview box |
| 432 | 432 | * Used in ComposeMailing and RetrievePreview (Xml.php) |
| 433 | 433 | */ |
| 434 | -function prepareMailingForPreview () |
|
| 434 | +function prepareMailingForPreview() |
|
| 435 | 435 | { |
| 436 | 436 | global $context, $modSettings, $scripturl, $user_info, $txt; |
| 437 | 437 | loadLanguage('Errors'); |
@@ -635,7 +635,7 @@ discard block |
||
| 635 | 635 | $request = $smcFunc['db_query']('', ' |
| 636 | 636 | SELECT id_member |
| 637 | 637 | FROM {db_prefix}members |
| 638 | - WHERE email_address IN(' . implode(', ', $condition_array) .')', |
|
| 638 | + WHERE email_address IN(' . implode(', ', $condition_array) . ')', |
|
| 639 | 639 | $condition_array_params |
| 640 | 640 | ); |
| 641 | 641 | while ($row = $smcFunc['db_fetch_assoc']($request)) |