Browse Source

set fedora url to null if it isn't in the settings

d9_islandora
elizoller 4 years ago
parent
commit
33764db9ed
  1. 3
      src/Form/IslandoraSettingsForm.php

3
src/Form/IslandoraSettingsForm.php

@ -158,6 +158,9 @@ class IslandoraSettingsForm extends ConfigFormBase {
if ($flysystem_config != NULL) { if ($flysystem_config != NULL) {
$fedora_url = $flysystem_config['fedora']['config']['root']; $fedora_url = $flysystem_config['fedora']['config']['root'];
} }
else {
$fedora_url = NULL;
}
$form[self::FEDORA_URL] = [ $form[self::FEDORA_URL] = [
'#type' => 'textfield', '#type' => 'textfield',

Loading…
Cancel
Save