Sources/Profile.php 1 location
|
@@ 469-470 (lines=2) @@
|
| 466 |
|
$profile_include_data = createMenu($profile_areas, $menuOptions); |
| 467 |
|
|
| 468 |
|
// No menu means no access. |
| 469 |
|
if (!$profile_include_data && (!$user_info['is_guest'] || validateSession())) |
| 470 |
|
fatal_lang_error('no_access', false); |
| 471 |
|
|
| 472 |
|
// Make a note of the Unique ID for this menu. |
| 473 |
|
$context['profile_menu_id'] = $context['max_menu_id']; |
Sources/PersonalMessage.php 1 location
|
@@ 356-357 (lines=2) @@
|
| 353 |
|
unset($pm_areas); |
| 354 |
|
|
| 355 |
|
// No menu means no access. |
| 356 |
|
if (!$pm_include_data && (!$user_info['is_guest'] || validateSession())) |
| 357 |
|
fatal_lang_error('no_access', false); |
| 358 |
|
|
| 359 |
|
// Make a note of the Unique ID for this menu. |
| 360 |
|
$context['pm_menu_id'] = $context['max_menu_id']; |