Small fix since wrong config value was being accessed.

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
This commit is contained in:
Jonathan Philip Knoblauch
2016-03-23 14:28:24 +01:00
parent 74782527fe
commit 3ff352584e

View File

@@ -107,10 +107,10 @@ public class DownloadAnonymousConfigurationView extends BaseConfigurationView
@Override
public void undo() {
anonymousDownloadEnabled = tenantConfigurationManagement
.getGlobalConfigurationValue(TenantConfigurationKey.ANONYMOUS_DOWNLOAD_MODE_ENABLED, Boolean.class);
final TenantConfigurationValue<Boolean> value = tenantConfigurationManagement
.getConfigurationValue(TenantConfigurationKey.ANONYMOUS_DOWNLOAD_MODE_ENABLED, Boolean.class);
anonymousDownloadEnabled = value.getValue();
downloadAnonymousCheckBox.setValue(anonymousDownloadEnabled);
}
}