Issue #3225381 by mikelutz, jrockowitz, yivanov, Spokje, larowlan, longwave, parkh, AdamPS, gcb: PHP Notice logged when switching "Configuration type" in single configuration export screen

merge-requests/2612/head
Alex Pott 2022-07-04 16:09:54 +01:00
parent 433f2ae0fd
commit ddd29c4ca2
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class ConfigSingleExportForm extends FormBase {
*/
public function updateConfigurationType($form, FormStateInterface $form_state) {
$form['config_name']['#options'] = $this->findConfiguration($form_state->getValue('config_type'));
unset($form['export']['#value']);
$form['export']['#value'] = NULL;
return $form;
}