Skip to content
Snippets Groups Projects
Commit 7986e991 authored by Abhishek Gupta's avatar Abhishek Gupta
Browse files

fix the issue

parent 8680417c
No related branches found
No related tags found
1 merge request!78fix the issue
......@@ -132,7 +132,7 @@ class SettingsForm extends ConfigFormBase {
'#type' => 'select',
'#options' => $versions,
'#tree' => TRUE,
'#default_value' => $config->get('rest_api_version')['version'],
'#default_value' => $config->get('rest_api_version') ? $config->get('rest_api_version')['version'] : NULL,
'#states' => [
'visible' => [
':input[name="use_latest"]' => ['checked' => FALSE],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment