aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorMatt Beckett <beck24@gmail.com>2013-09-12 22:10:51 -0700
committerMatt Beckett <beck24@gmail.com>2013-09-12 22:10:51 -0700
commit0f448571e3618a2a4ef56e377ff26c6278585b48 (patch)
tree4905823434f38fdd8c54fbdcc672aad6493e7464 /engine
parent96fd62420124d8b22e9a368532240a5c5066d628 (diff)
downloadelgg-0f448571e3618a2a4ef56e377ff26c6278585b48.tar.gz
elgg-0f448571e3618a2a4ef56e377ff26c6278585b48.tar.bz2
collections pages are only for logged in users
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/users.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 9a5194896..e26b6cd4b 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1091,6 +1091,7 @@ function friends_page_handler($segments, $handler) {
* @access private
*/
function collections_page_handler($page_elements) {
+ gatekeeper();
elgg_set_context('friends');
$base = elgg_get_config('path');
if (isset($page_elements[0])) {