Fix: bypass GETPOST check with ckeditor
This commit is contained in:
parent
370979f6c6
commit
05a5a0fc9a
@ -49,8 +49,8 @@ if (! empty($field) && ! empty($element) && ! empty($table_element) && ! empty($
|
||||
{
|
||||
$ext_element = GETPOST('ext_element','alpha');
|
||||
$field = substr($field, 8); // remove prefix val_
|
||||
$value = GETPOST('value','alpha');
|
||||
$type = GETPOST('type','alpha');
|
||||
$value = ($type == 'ckeditor' ? GETPOST('value') : GETPOST('value','alpha'));
|
||||
$savemethod = GETPOST('savemethod','alpha');
|
||||
$savemethodname = (! empty($savemethod) ? $savemethod : 'setValueFrom');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user