Sources/Load.php 1 location
|
@@ 603-609 (lines=7) @@
|
| 600 |
|
$user_info = array( |
| 601 |
|
'groups' => array($user_settings['id_group'], $user_settings['id_post_group']) |
| 602 |
|
); |
| 603 |
|
else |
| 604 |
|
$user_info = array( |
| 605 |
|
'groups' => array_merge( |
| 606 |
|
array($user_settings['id_group'], $user_settings['id_post_group']), |
| 607 |
|
explode(',', $user_settings['additional_groups']) |
| 608 |
|
) |
| 609 |
|
); |
| 610 |
|
|
| 611 |
|
// Because history has proven that it is possible for groups to go bad - clean up in case. |
| 612 |
|
foreach ($user_info['groups'] as $k => $v) |
Sources/Reports.php 1 location
|
@@ 516-519 (lines=4) @@
|
| 513 |
|
); |
| 514 |
|
while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 515 |
|
{ |
| 516 |
|
if (trim($row['member_groups']) == '') |
| 517 |
|
$groups = array(1); |
| 518 |
|
else |
| 519 |
|
$groups = array_merge(array(1), explode(',', $row['member_groups'])); |
| 520 |
|
|
| 521 |
|
if (trim($row['deny_member_groups']) == '') |
| 522 |
|
$denyGroups = array(); |
Sources/ManageNews.php 1 location
|
@@ 995-999 (lines=5) @@
|
| 992 |
|
// What groups are we looking at here? |
| 993 |
|
if (empty($row['additional_groups'])) |
| 994 |
|
$groups = array($row['id_group'], $row['id_post_group']); |
| 995 |
|
else |
| 996 |
|
$groups = array_merge( |
| 997 |
|
array($row['id_group'], $row['id_post_group']), |
| 998 |
|
explode(',', $row['additional_groups']) |
| 999 |
|
); |
| 1000 |
|
|
| 1001 |
|
// Excluded groups? |
| 1002 |
|
if (array_intersect($groups, $context['recipients']['exclude_groups'])) |