@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | 'current_time' => time(), |
79 | 79 | ) |
80 | 80 | )->fetch_callback( |
81 | - function ($row) use (&$excludes) { |
|
81 | + function($row) use (&$excludes) { |
|
82 | 82 | $excludes[] = $row['id_member']; |
83 | 83 | } |
84 | 84 | ); |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | 'blank_string' => '', |
101 | 101 | ) |
102 | 102 | )->fetch_callback( |
103 | - function ($row) use (&$condition_array, &$condition_array_params, &$count) { |
|
103 | + function($row) use (&$condition_array, &$condition_array_params, &$count) { |
|
104 | 104 | $condition_array[] = '{string:email_' . $count . '}'; |
105 | 105 | $condition_array_params['email_' . ($count++)] = $row['email_address']; |
106 | 106 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | WHERE email_address IN(' . implode(', ', $condition_array) . ')', |
116 | 116 | $condition_array_params |
117 | 117 | )->fetch_callback( |
118 | - function ($row) use (&$excludes) { |
|
118 | + function($row) use (&$excludes) { |
|
119 | 119 | $excludes[] = $row['id_member']; |
120 | 120 | } |
121 | 121 | ); |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | 'is_activated' => 1, |
147 | 147 | ) |
148 | 148 | )->fetch_callback( |
149 | - function ($row) use (&$mods) { |
|
149 | + function($row) use (&$mods) { |
|
150 | 150 | $mods[] = $row['identifier']; |
151 | 151 | } |
152 | 152 | ); |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | 'is_activated' => 1, |
191 | 191 | )) |
192 | 192 | )->fetch_callback( |
193 | - function ($row) use (&$recipients) { |
|
193 | + function($row) use (&$recipients) { |
|
194 | 194 | $recipients[] = $row; |
195 | 195 | } |
196 | 196 | ); |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | 'message_list' => $messages, |
383 | 383 | ) |
384 | 384 | )->fetch_callback( |
385 | - function ($row) use (&$data) { |
|
385 | + function($row) use (&$data) { |
|
386 | 386 | $data[] = $row; |
387 | 387 | } |
388 | 388 | ); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | 'private_level' => 2, |
49 | 49 | ) |
50 | 50 | )->fetch_callback( |
51 | - function ($row) { |
|
51 | + function($row) { |
|
52 | 52 | global $context; |
53 | 53 | |
54 | 54 | // Avoid collisions |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | 'field_type_select' => 'select', |
310 | 310 | ) |
311 | 311 | )->fetch_callback( |
312 | - function ($row) { |
|
312 | + function($row) { |
|
313 | 313 | global $context; |
314 | 314 | |
315 | 315 | $context['custom_search_fields'][$row['col_name']] = array( |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | 'count_new_buddies' => count($buddies), |
54 | 54 | ) |
55 | 55 | )->fetch_callback( |
56 | - function ($row) use (&$buddiesArray, $notifier) { |
|
56 | + function($row) use (&$buddiesArray, $notifier) { |
|
57 | 57 | $buddiesArray[] = (int) $row['id_member']; |
58 | 58 | |
59 | 59 | // Let them know they have been added as a buddy |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | 'moderator_group' => 3, |
110 | 110 | ) |
111 | 111 | )->fetch_callback( |
112 | - function ($row) use (&$groups, $current_groups) { |
|
112 | + function($row) use (&$groups, $current_groups) { |
|
113 | 113 | global $context; |
114 | 114 | |
115 | 115 | // Can they edit their primary group? |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | 'selected_member' => $memID, |
293 | 293 | ) |
294 | 294 | )->fetch_callback( |
295 | - function ($row) { |
|
295 | + function($row) { |
|
296 | 296 | // This could take a while... but ya know it's gonna be worth it in the end. |
297 | 297 | detectServer()->setTimeLimit(300); |
298 | 298 | removeMessage($row['id_msg']); |
@@ -508,7 +508,7 @@ discard block |
||
508 | 508 | LIMIT {int:limit} OFFSET {int:start} '), |
509 | 509 | $params |
510 | 510 | )->fetch_callback( |
511 | - function ($row) use (&$msg) { |
|
511 | + function($row) use (&$msg) { |
|
512 | 512 | $msg[] = $row['id_msg']; |
513 | 513 | } |
514 | 514 | ); |
@@ -749,7 +749,7 @@ discard block |
||
749 | 749 | 'message_list' => $messages, |
750 | 750 | ) |
751 | 751 | )->fetch_callback( |
752 | - function ($row) use (&$messages_list, $allowed_all) { |
|
752 | + function($row) use (&$messages_list, $allowed_all) { |
|
753 | 753 | global $modSettings; |
754 | 754 | |
755 | 755 | if (!$allowed_all && !empty($modSettings['edit_disable_time']) && $row['poster_time'] + $modSettings['edit_disable_time'] * 60 < time()) |
@@ -790,7 +790,7 @@ discard block |
||
790 | 790 | 'is_approved' => 1, |
791 | 791 | ) |
792 | 792 | )->fetch_callback( |
793 | - function ($row) use (&$return) { |
|
793 | + function($row) use (&$return) { |
|
794 | 794 | $return[empty($row['is_selected']) || $row['is_selected'] == 'f' ? 'not_selected' : 'selected'] = $row['num_messages']; |
795 | 795 | } |
796 | 796 | ); |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | 'topics' => $topics, |
222 | 222 | ) |
223 | 223 | )->fetch_callback( |
224 | - function ($row) use (&$adjustBoards, $cache) { |
|
224 | + function($row) use (&$adjustBoards, $cache) { |
|
225 | 225 | if (!isset($adjustBoards[$row['id_board']]['num_posts'])) |
226 | 226 | { |
227 | 227 | $cache->remove('board-' . $row['id_board']); |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | 'topics' => $topics, |
331 | 331 | ) |
332 | 332 | )->fetch_callback( |
333 | - function ($row) use (&$words, &$messages) { |
|
333 | + function($row) use (&$words, &$messages) { |
|
334 | 334 | detectServer()->setTimeLimit(300); |
335 | 335 | |
336 | 336 | $words = array_merge($words, text2words($row['body'], true)); |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | 'move_topic_ids' => $moveCache[0], |
492 | 492 | ) |
493 | 493 | )->fetch_callback( |
494 | - function ($row) use (&$countPosts, &$moveCache2, &$moveTos, $moveCache) { |
|
494 | + function($row) use (&$countPosts, &$moveCache2, &$moveTos, $moveCache) { |
|
495 | 495 | $to = $moveCache[1][$row['id_topic']]; |
496 | 496 | |
497 | 497 | if (empty($to)) |
@@ -669,7 +669,7 @@ discard block |
||
669 | 669 | 'topics' => $topics, |
670 | 670 | ) |
671 | 671 | )->fetch_callback( |
672 | - function ($row) use (&$log_topics) { |
|
672 | + function($row) use (&$log_topics) { |
|
673 | 673 | $log_topics[] = array($row['id_member'], $row['id_topic'], $row['id_msg'], $row['unwatched']); |
674 | 674 | |
675 | 675 | // Prevent queries from getting too big. Taking some steam off. |
@@ -766,7 +766,7 @@ discard block |
||
766 | 766 | 'not_approved' => 0, |
767 | 767 | ) |
768 | 768 | )->fetch_callback( |
769 | - function ($row) use (&$approval_msgs) { |
|
769 | + function($row) use (&$approval_msgs) { |
|
770 | 770 | $approval_msgs[] = $row['id_msg']; |
771 | 771 | } |
772 | 772 | ); |
@@ -807,7 +807,7 @@ discard block |
||
807 | 807 | 'topics' => $topics, |
808 | 808 | ) |
809 | 809 | )->fetch_callback( |
810 | - function ($row) use ($topicMaxMin) { |
|
810 | + function($row) use ($topicMaxMin) { |
|
811 | 811 | // If not, update. |
812 | 812 | if ($row['first_msg'] != $topicMaxMin[$row['id_topic']]['min'] || $row['last_msg'] != $topicMaxMin[$row['id_topic']]['max']) |
813 | 813 | { |
@@ -1504,7 +1504,7 @@ discard block |
||
1504 | 1504 | AND t.id_board IN ({array_int:boards})', |
1505 | 1505 | $condition_params |
1506 | 1506 | )->fetch_callback( |
1507 | - function ($row) use (&$topics) { |
|
1507 | + function($row) use (&$topics) { |
|
1508 | 1508 | $topics[] = $row['id_topic']; |
1509 | 1509 | } |
1510 | 1510 | ); |
@@ -1534,7 +1534,7 @@ discard block |
||
1534 | 1534 | 'selected_member' => $memberID, |
1535 | 1535 | ) |
1536 | 1536 | )->fetch_callback( |
1537 | - function ($row) use (&$topicIDs) { |
|
1537 | + function($row) use (&$topicIDs) { |
|
1538 | 1538 | $topicIDs[] = $row['id_topic']; |
1539 | 1539 | } |
1540 | 1540 | ); |
@@ -1573,7 +1573,7 @@ discard block |
||
1573 | 1573 | 'approved' => 1, |
1574 | 1574 | ) |
1575 | 1575 | )->fetch_callback( |
1576 | - function ($row) use (&$messages) { |
|
1576 | + function($row) use (&$messages) { |
|
1577 | 1577 | $messages[] = $row['id_msg']; |
1578 | 1578 | } |
1579 | 1579 | ); |
@@ -1708,7 +1708,7 @@ discard block |
||
1708 | 1708 | 'msg_after' => !empty($messages['after']) ? (int) $messages['after'] : 0, |
1709 | 1709 | ) |
1710 | 1710 | )->fetch_callback( |
1711 | - function ($row) use (&$returnMessages, $parser) { |
|
1711 | + function($row) use (&$returnMessages, $parser) { |
|
1712 | 1712 | $row['subject'] = censor($row['subject']); |
1713 | 1713 | $row['body'] = censor($row['body']); |
1714 | 1714 | |
@@ -1766,7 +1766,7 @@ discard block |
||
1766 | 1766 | 'current_member' => User::$info->id, |
1767 | 1767 | ) |
1768 | 1768 | )->fetch_callback( |
1769 | - function ($row) use (&$posts, $parser, $render) { |
|
1769 | + function($row) use (&$posts, $parser, $render) { |
|
1770 | 1770 | // Censor the subject and message. |
1771 | 1771 | $row['subject'] = censor($row['subject']); |
1772 | 1772 | $row['body'] = censor($row['body']); |
@@ -1817,7 +1817,7 @@ discard block |
||
1817 | 1817 | 'is_approved' => 1, |
1818 | 1818 | ) |
1819 | 1819 | )->fetch_callback( |
1820 | - function ($row) use (&$temp, &$printattach) { |
|
1820 | + function($row) use (&$temp, &$printattach) { |
|
1821 | 1821 | $temp[$row['id_attach']] = $row; |
1822 | 1822 | if (!isset($printattach[$row['id_msg']])) |
1823 | 1823 | { |
@@ -2194,7 +2194,7 @@ discard block |
||
2194 | 2194 | 'current_user' => $member, |
2195 | 2195 | ) |
2196 | 2196 | )->fetch_callback( |
2197 | - function ($row) use (&$logged_topics) { |
|
2197 | + function($row) use (&$logged_topics) { |
|
2198 | 2198 | $logged_topics[$row['id_topic']] = $row; |
2199 | 2199 | } |
2200 | 2200 | ); |
@@ -2239,7 +2239,7 @@ discard block |
||
2239 | 2239 | 'limit' => count($topic_ids), |
2240 | 2240 | ) |
2241 | 2241 | )->fetch_callback( |
2242 | - function ($row) use (&$topics) { |
|
2242 | + function($row) use (&$topics) { |
|
2243 | 2243 | $topics[$row['id_topic']] = array( |
2244 | 2244 | 'id_topic' => $row['id_topic'], |
2245 | 2245 | 'subject' => censor($row['subject']), |
@@ -2412,7 +2412,7 @@ discard block |
||
2412 | 2412 | 'approve_type' => $approve_type, |
2413 | 2413 | ) |
2414 | 2414 | )->fetch_callback( |
2415 | - function ($row) use (&$log_action) { |
|
2415 | + function($row) use (&$log_action) { |
|
2416 | 2416 | global $board; |
2417 | 2417 | |
2418 | 2418 | logAction($log_action, array( |
@@ -2438,7 +2438,7 @@ discard block |
||
2438 | 2438 | 'approve_type' => $approve_type, |
2439 | 2439 | ) |
2440 | 2440 | )->fetch_callback( |
2441 | - function ($row) use (&$msgs) { |
|
2441 | + function($row) use (&$msgs) { |
|
2442 | 2442 | $msgs[] = $row['id_msg']; |
2443 | 2443 | } |
2444 | 2444 | ); |
@@ -2763,7 +2763,7 @@ discard block |
||
2763 | 2763 | 'id_topic' => (int) $split1_ID_TOPIC, |
2764 | 2764 | ) |
2765 | 2765 | )->fetch_callback( |
2766 | - function ($row) use (&$replaceEntries, $split2_ID_TOPIC) { |
|
2766 | + function($row) use (&$replaceEntries, $split2_ID_TOPIC) { |
|
2767 | 2767 | $replaceEntries[] = array($row['id_member'], $split2_ID_TOPIC, $row['id_msg'], $row['unwatched']); |
2768 | 2768 | } |
2769 | 2769 | ); |
@@ -2841,7 +2841,7 @@ discard block |
||
2841 | 2841 | 'is_approved' => 1, |
2842 | 2842 | ) |
2843 | 2843 | )->fetch_callback( |
2844 | - function ($row) use (&$posters) { |
|
2844 | + function($row) use (&$posters) { |
|
2845 | 2845 | if (!isset($posters[$row['id_member']])) |
2846 | 2846 | { |
2847 | 2847 | $posters[$row['id_member']] = 0; |
@@ -2994,7 +2994,7 @@ discard block |
||
2994 | 2994 | 'items_per_page' => $items_per_page, |
2995 | 2995 | ) |
2996 | 2996 | )->fetch_callback( |
2997 | - function ($row) use (&$notification_topics) { |
|
2997 | + function($row) use (&$notification_topics) { |
|
2998 | 2998 | $row['subject'] = censor($row['subject']); |
2999 | 2999 | $topic_href = getUrl('topic', ['topic' => $row['id_topic'], 'start' => '0', 'subject' => $row['subject']]); |
3000 | 3000 | $topic_new_href = getUrl('topic', ['topic' => $row['id_topic'], 'start' => 'msg' . $row['new_from'], 'subject' => $row['subject']]); |
@@ -3044,7 +3044,7 @@ discard block |
||
3044 | 3044 | 'is_approved' => 1, |
3045 | 3045 | ) |
3046 | 3046 | )->fetch_callback( |
3047 | - function ($row) use (&$posters) { |
|
3047 | + function($row) use (&$posters) { |
|
3048 | 3048 | if (!isset($posters[$row['id_member']])) |
3049 | 3049 | { |
3050 | 3050 | $posters[$row['id_member']] = 0; |
@@ -3127,7 +3127,7 @@ discard block |
||
3127 | 3127 | 'is_approved' => 1, |
3128 | 3128 | ) |
3129 | 3129 | )->fetch_callback( |
3130 | - function ($row) use (&$topics) { |
|
3130 | + function($row) use (&$topics) { |
|
3131 | 3131 | $row['subject'] = censor($row['subject']); |
3132 | 3132 | |
3133 | 3133 | $href = getUrl('profile', ['action' => 'profile', 'u' => $row['id_member'], 'name' => $row['poster_name']]); |
@@ -3169,7 +3169,7 @@ discard block |
||
3169 | 3169 | 'topic_list' => $topics, |
3170 | 3170 | ) |
3171 | 3171 | )->fetch_callback( |
3172 | - function ($row) use (&$messages) { |
|
3172 | + function($row) use (&$messages) { |
|
3173 | 3173 | $messages[] = $row['id_msg']; |
3174 | 3174 | } |
3175 | 3175 | ); |
@@ -3198,7 +3198,7 @@ discard block |
||
3198 | 3198 | 'topic_list' => $topics, |
3199 | 3199 | ) |
3200 | 3200 | )->fetch_callback( |
3201 | - function ($row) use (&$members) { |
|
3201 | + function($row) use (&$members) { |
|
3202 | 3202 | $members[$row['id_member']][] = $row['id_topic']; |
3203 | 3203 | } |
3204 | 3204 | ); |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | 'lowest_topic' => $lowest_topic, |
144 | 144 | ) |
145 | 145 | )->fetch_callback( |
146 | - function ($row) use (&$delete_topics, &$update_topics, $modSettings) { |
|
146 | + function($row) use (&$delete_topics, &$update_topics, $modSettings) { |
|
147 | 147 | if (!empty($row['unwatched'])) |
148 | 148 | { |
149 | 149 | $update_topics[] = array( |
@@ -504,7 +504,7 @@ discard block |
||
504 | 504 | 'moderator_list' => $moderators, |
505 | 505 | ) |
506 | 506 | )->fetch_callback( |
507 | - function ($row) { |
|
507 | + function($row) { |
|
508 | 508 | return $row['id_member']; |
509 | 509 | } |
510 | 510 | ); |
@@ -1136,7 +1136,7 @@ discard block |
||
1136 | 1136 | 'recycle_board' => (int) $modSettings['recycle_board'], |
1137 | 1137 | ) |
1138 | 1138 | )->fetch_callback( |
1139 | - function ($row) { |
|
1139 | + function($row) { |
|
1140 | 1140 | return $row['id_board']; |
1141 | 1141 | } |
1142 | 1142 | ); |
@@ -1225,7 +1225,7 @@ discard block |
||
1225 | 1225 | 'global_moderator' => 2, |
1226 | 1226 | ) |
1227 | 1227 | )->fetch_callback( |
1228 | - function ($row) use (&$new_board, &$groups, &$curBoard) { |
|
1228 | + function($row) use (&$new_board, &$groups, &$curBoard) { |
|
1229 | 1229 | if ($new_board && $row['min_posts'] == -1) |
1230 | 1230 | { |
1231 | 1231 | $curBoard['member_groups'][] = $row['id_group']; |
@@ -1269,7 +1269,7 @@ discard block |
||
1269 | 1269 | 'current_board' => $idboard, |
1270 | 1270 | ) |
1271 | 1271 | )->fetch_callback( |
1272 | - function ($row) use (&$moderators) { |
|
1272 | + function($row) use (&$moderators) { |
|
1273 | 1273 | $moderators[] = $row['id_member']; |
1274 | 1274 | } |
1275 | 1275 | ); |
@@ -1285,7 +1285,7 @@ discard block |
||
1285 | 1285 | 'current_board' => $idboard, |
1286 | 1286 | ) |
1287 | 1287 | )->fetch_callback( |
1288 | - function ($row) use (&$moderators) { |
|
1288 | + function($row) use (&$moderators) { |
|
1289 | 1289 | $moderators[$row['id_member']] = $row['real_name']; |
1290 | 1290 | } |
1291 | 1291 | ); |
@@ -1364,7 +1364,7 @@ discard block |
||
1364 | 1364 | 'current_member' => $id_member, |
1365 | 1365 | ) |
1366 | 1366 | )->fetch_callback( |
1367 | - function ($row) { |
|
1367 | + function($row) { |
|
1368 | 1368 | return $row['id_board']; |
1369 | 1369 | } |
1370 | 1370 | ); |
@@ -1475,7 +1475,7 @@ discard block |
||
1475 | 1475 | AND b.' . implode(' AND b.', $removals) : ''), |
1476 | 1476 | $clauseParameters |
1477 | 1477 | )->fetch_callback( |
1478 | - function ($row) use (&$return) { |
|
1478 | + function($row) use (&$return) { |
|
1479 | 1479 | $return[$row['id_board']] = $row['num_posts']; |
1480 | 1480 | } |
1481 | 1481 | ); |
@@ -1679,7 +1679,7 @@ discard block |
||
1679 | 1679 | 'board_list' => $boards, |
1680 | 1680 | ) |
1681 | 1681 | )->fetch_callback( |
1682 | - function ($row) use (&$boards) { |
|
1682 | + function($row) use (&$boards) { |
|
1683 | 1683 | if (in_array($row['id_parent'], $boards)) |
1684 | 1684 | { |
1685 | 1685 | $boards[] = $row['id_board']; |
@@ -1817,7 +1817,7 @@ discard block |
||
1817 | 1817 | 'selected_member' => $memID, |
1818 | 1818 | ) |
1819 | 1819 | )->fetch_callback( |
1820 | - function ($row) { |
|
1820 | + function($row) { |
|
1821 | 1821 | $href = getUrl('board', ['board' => $row['id_board'], 'start' => '0', 'name' => $row['name']]); |
1822 | 1822 | |
1823 | 1823 | return array( |
@@ -1848,7 +1848,7 @@ discard block |
||
1848 | 1848 | 'recycle_board' => $modSettings['recycle_board'], |
1849 | 1849 | ) |
1850 | 1850 | )->fetch_callback( |
1851 | - function ($row) use (&$notification_boards) { |
|
1851 | + function($row) use (&$notification_boards) { |
|
1852 | 1852 | $href = getUrl('board', ['board' => $row['id_board'], 'start' => '0', 'name' => $row['name']]); |
1853 | 1853 | $notification_boards[] = array( |
1854 | 1854 | 'id' => $row['id_board'], |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | 'maxindex' => $items_per_page, |
71 | 71 | ) |
72 | 72 | )->fetch_callback( |
73 | - function ($row) use (&$topics) { |
|
73 | + function($row) use (&$topics) { |
|
74 | 74 | $topics[$row['id_topic']] = []; |
75 | 75 | } |
76 | 76 | ); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | 'topic_list' => $topic_ids, |
185 | 185 | ) |
186 | 186 | )->fetch_callback( |
187 | - function ($row) use (&$topics) { |
|
187 | + function($row) use (&$topics) { |
|
188 | 188 | $topics[] = $row; |
189 | 189 | } |
190 | 190 | ); |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | FROM {db_prefix}spiders', |
311 | 311 | array() |
312 | 312 | )->fetch_callback( |
313 | - function ($row) use (&$spiders) { |
|
313 | + function($row) use (&$spiders) { |
|
314 | 314 | $spiders[$row['id_spider']] = $row['spider_name']; |
315 | 315 | } |
316 | 316 | ); |
@@ -347,7 +347,7 @@ discard block |
||
347 | 347 | 'limit' => $items_per_page, |
348 | 348 | ) |
349 | 349 | )->fetch_callback( |
350 | - function ($row) use (&$spiders) { |
|
350 | + function($row) use (&$spiders) { |
|
351 | 351 | $spiders[$row['id_spider']] = $row; |
352 | 352 | } |
353 | 353 | ); |
@@ -598,7 +598,7 @@ discard block |
||
598 | 598 | GROUP BY id_spider', |
599 | 599 | array() |
600 | 600 | )->fetch_callback( |
601 | - function ($row) use (&$spider_last_seen) { |
|
601 | + function($row) use (&$spider_last_seen) { |
|
602 | 602 | $spider_last_seen[$row['id_spider']] = $row['last_seen_time']; |
603 | 603 | } |
604 | 604 | ); |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | 'text_none' => $txt['none'], |
42 | 42 | ) |
43 | 43 | )->fetch_callback( |
44 | - function ($row) use (&$boards) { |
|
44 | + function($row) use (&$boards) { |
|
45 | 45 | $boards[] = $row; |
46 | 46 | } |
47 | 47 | ); |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | 'moderator_group' => 3, |
84 | 84 | ) |
85 | 85 | )->fetch_callback( |
86 | - function ($row) use (&$member_groups) { |
|
86 | + function($row) use (&$member_groups) { |
|
87 | 87 | $member_groups[$row['id_group']] = $row['group_name']; |
88 | 88 | } |
89 | 89 | ); |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | 'moderate_board' => 'moderate_board', |
167 | 167 | ) |
168 | 168 | )->fetch_callback( |
169 | - function ($row) use (&$rows) { |
|
169 | + function($row) use (&$rows) { |
|
170 | 170 | $rows[] = $row; |
171 | 171 | } |
172 | 172 | ); |