aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/actions.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 09:49:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 09:49:45 +0000
commitdeb2e286301f0b0472cd9d742fd4d0777035d5d4 (patch)
treedd54129d0a41cf0b612acf369a04814e57c897f7 /engine/lib/actions.php
parente61a98c5dd04391db3eb7e3a087de633e2a6b0fe (diff)
downloadelgg-deb2e286301f0b0472cd9d742fd4d0777035d5d4.tar.gz
elgg-deb2e286301f0b0472cd9d742fd4d0777035d5d4.tar.bz2
Fixes #2237: Added 'reason' parameter to forward() to allow proper headers and more flexible destinations via plugin hooks. Also made use of this in core gatekeeper functions and in pagehandler.php
git-svn-id: http://code.elgg.org/elgg/trunk@7373 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/actions.php')
-rw-r--r--engine/lib/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index bcc156e4f..bdd519458 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -268,7 +268,7 @@ function action_gatekeeper() {
return TRUE;
}
- forward();
+ forward('', 'csrf');
exit;
}