diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-04-17 11:33:50 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-04-17 11:33:50 +0000 |
commit | 720c8324c7572ebf51e4083430e060900cb30750 (patch) | |
tree | 8852cf4a64f42499825cbe46ba295082ce1cc515 /include/security.php | |
parent | a7421990350e2409ee90957dab37e1ff1fc272df (diff) | |
download | volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.gz volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.bz2 volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.zip |
Some Bugfixes, and variable checks
Diffstat (limited to 'include/security.php')
-rwxr-xr-x | include/security.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php index fc816e5d7..a92400b5c 100755 --- a/include/security.php +++ b/include/security.php @@ -339,6 +339,7 @@ function check_form_security_token_redirectOnErr($err_redirect, $typename = '', } function check_form_security_token_ForbiddenOnErr($typename = '', $formname = 'form_security_token') { if (!check_form_security_token($typename, $formname)) { + $a = get_app(); logger('check_form_security_token failed: user ' . $a->user['guid'] . ' - form element ' . $typename); logger('check_form_security_token failed: _REQUEST data: ' . print_r($_REQUEST, true), LOGGER_DATA); header('HTTP/1.1 403 Forbidden'); |