diff options
author | cash <cash.costello@gmail.com> | 2013-07-05 20:10:12 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2013-07-05 20:10:12 -0400 |
commit | a873fa6429460ccebbfdb5b7d17f124c80a6ee5c (patch) | |
tree | 539fb4a8de4c892ba0eec16f2bb5b58280e86790 /mod/file/pages/file/owner.php | |
parent | 175c65bec4a46ee7ffa424555870b383e77bd3bf (diff) | |
download | elgg-a873fa6429460ccebbfdb5b7d17f124c80a6ee5c.tar.gz elgg-a873fa6429460ccebbfdb5b7d17f124c80a6ee5c.tar.bz2 |
Fixes #5745 serve 404 pages when someone requests content of a user that does not exist
Diffstat (limited to 'mod/file/pages/file/owner.php')
-rw-r--r-- | mod/file/pages/file/owner.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/pages/file/owner.php b/mod/file/pages/file/owner.php index 5ad6866d6..99cf62714 100644 --- a/mod/file/pages/file/owner.php +++ b/mod/file/pages/file/owner.php @@ -10,7 +10,7 @@ group_gatekeeper(); $owner = elgg_get_page_owner_entity(); if (!$owner) { - forward('file/all'); + forward('', '404'); } elgg_push_breadcrumb(elgg_echo('file'), "file/all"); |