Commit 97dced2e authored by drumm's avatar drumm
Browse files

#99601 by pwolanin. Don't save formapi metadata to variables table.

parent 2203f74d
......@@ -1083,7 +1083,7 @@ function system_settings_form_submit($form_id, $form_values) {
$op = isset($form_values['op']) ? $form_values['op'] : '';
// Exclude unnecessary elements.
unset($form_values['submit'], $form_values['reset'], $form_values['form_id']);
unset($form_values['submit'], $form_values['reset'], $form_values['form_id'], $form_values['op'], $form_values['form_token']);
foreach ($form_values as $key => $value) {
if ($op == t('Reset to defaults')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment