mod/missions/pages/missions/mission-invitation.php 1 location
|
@@ 19-25 (lines=7) @@
|
| 16 |
|
$blast_radius = explode('/', $current_uri); |
| 17 |
|
$mission = get_entity(array_pop($blast_radius)); |
| 18 |
|
|
| 19 |
|
if(check_entity_relationship($mission->guid, 'mission_tentative', elgg_get_logged_in_user_guid())) { |
| 20 |
|
$applicant = elgg_get_logged_in_user_guid(); |
| 21 |
|
} |
| 22 |
|
else { |
| 23 |
|
register_error(elgg_echo('missions:error:not_sent_invitation')); |
| 24 |
|
forward(REFERER); |
| 25 |
|
} |
| 26 |
|
|
| 27 |
|
$title = elgg_echo('missions:mission_invitation'); |
| 28 |
|
|
mod/tidypics/actions/photos/album/set_cover.php 1 location
|
@@ 17-23 (lines=7) @@
|
| 14 |
|
forward(REFERER); |
| 15 |
|
} |
| 16 |
|
|
| 17 |
|
if ($album->setCoverImageGuid($image_guid)) { |
| 18 |
|
system_message(elgg_echo('album:save_cover_image')); |
| 19 |
|
forward(REFERER); |
| 20 |
|
} else { |
| 21 |
|
register_error(elgg_echo('album:cannot_save_cover_image')); |
| 22 |
|
forward(REFERER); |
| 23 |
|
} |
mod/groups/lib/groups.php 1 location
|
@@ 654-657 (lines=4) @@
|
| 651 |
|
elgg_set_page_owner_guid($guid); |
| 652 |
|
|
| 653 |
|
$group = get_entity($guid); |
| 654 |
|
if (!elgg_instanceof($group, 'group') || strpos(elgg_get_site_entity()->name, 'collab') == false) { |
| 655 |
|
register_error(elgg_echo('groups:noaccess')); |
| 656 |
|
forward(REFERER); |
| 657 |
|
} |
| 658 |
|
|
| 659 |
|
$title = elgg_echo('groups:stats'); |
| 660 |
|
$lang = get_current_language(); |
mod/gc_group_layout/lib/groups.php 1 location
|
@@ 677-680 (lines=4) @@
|
| 674 |
|
elgg_set_page_owner_guid($guid); |
| 675 |
|
|
| 676 |
|
$group = get_entity($guid); |
| 677 |
|
if (!elgg_instanceof($group, 'group') || strpos(elgg_get_site_entity()->name, 'collab') == false) { |
| 678 |
|
register_error(elgg_echo('groups:noaccess')); |
| 679 |
|
forward(REFERER); |
| 680 |
|
} |
| 681 |
|
|
| 682 |
|
$title = elgg_echo('groups:stats'); |
| 683 |
|
$lang = get_current_language(); |