Unset _token
... so it's not returned back to the client
This commit is contained in:
parent
39cff09d8f
commit
b97a138033
1 changed files with 5 additions and 2 deletions
|
@ -983,8 +983,11 @@ class tasklist extends rcube_plugin
|
|||
$list = rcube_utils::get_input_value('l', rcube_utils::INPUT_GPC, true);
|
||||
$success = false;
|
||||
|
||||
if (isset($list['showalarms']))
|
||||
$list['showalarms'] = intval($list['showalarms']);
|
||||
unset($list['_token']);
|
||||
|
||||
if (isset($list['showalarms'])) {
|
||||
$list['showalarms'] = intval($list['showalarms']);
|
||||
}
|
||||
|
||||
switch ($action) {
|
||||
case 'form-new':
|
||||
|
|
Loading…
Add table
Reference in a new issue