Skip to content

Commit a22eb99

Browse files
committed
add missing csrf_token in REX_YFORM_TABLE_DATA[] input widget
1 parent bb54a2e commit a22eb99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/RexVar/var_yform_dataset.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ protected function getOutput()
4545
'table' => $table,
4646
'fieldName' => $fieldName,
4747
];
48+
$_csrf_key = $table->getCSRFKey();
49+
$args += rex_csrf_token::factory($_csrf_key)->getUrlParams();
4850

4951
if ($this->hasArg('multiple') && $this->getArg('multiple')) {
5052
$options = [];

0 commit comments

Comments
 (0)