aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_request.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-13 14:36:52 -0700
committerfriendica <info@friendica.com>2012-03-13 14:36:52 -0700
commitacc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (patch)
tree018927c54c16f68aeae7153c81c404d3e9cbbc7d /mod/dfrn_request.php
parent5a4167646553e589cf9647c0e0d0446e3f5fd672 (diff)
parent59766b944c9ea3a45b1d7e8593f7bb5d4a0b8445 (diff)
downloadvolse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.gz
volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.bz2
volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.zip
Merge pull request #129 from CatoTH/master
CSRF-Protection and minor changes
Diffstat (limited to 'mod/dfrn_request.php')
-rwxr-xr-xmod/dfrn_request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index bc159137d..452fec166 100755
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -43,7 +43,7 @@ function dfrn_request_post(&$a) {
return;
- if($_POST['cancel']) {
+ if(x($_POST, 'cancel')) {
goaway(z_root());
}