summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2011-12-27 10:56:09 (GMT)
committerAleksander Machniak <alec@alec.pl>2011-12-27 10:56:09 (GMT)
commit13910567ac2c9b3835acae034b0145ce22f17fe1 (patch)
treef96307a38fa525fdb512e4499f267c427780be58 /lib/kolab_client_task.php
parentf1596e48d9a1354a471f26aecb7c077f8cc498b5 (diff)
parent0c1be6cbd0a992a8ddf932d5c0bf08586c8a409e (diff)
downloadkolab-wap-13910567ac2c9b3835acae034b0145ce22f17fe1.tar.gz
Merge branch 'master' of ssh://git.klab.cc/git/vanmeeuwen/kolab-wap
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index d3a9088..e8563e1 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -206,7 +206,7 @@ class kolab_client_task
}
// CSRF prevention
- $token = $ajax ? kolab_utils::request_header('X-KAP-Request') : $this->get_input('token');
+ $token = $ajax ? kolab_utils::get_request_header('X-KAP-Request') : $this->get_input('token');
$task = $this->get_task();
if ($task != 'main' && $token != $_SESSION['user']['token']) {