From deb2e286301f0b0472cd9d742fd4d0777035d5d4 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 20 Nov 2010 09:49:45 +0000 Subject: 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 --- engine/lib/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/actions.php') 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; } -- cgit v1.2.3