From cb3506da03f93bee170aa831acf8dd86357c5143 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 12 Sep 2017 11:47:32 +0200 Subject: [PATCH] Fixed issue #1406 - Exchange integration wizard fails if server does not support autodiscovery. --- app/controllers/integration/exchange_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/integration/exchange_controller.rb b/app/controllers/integration/exchange_controller.rb index 74d7f178c..cdb3fa427 100644 --- a/app/controllers/integration/exchange_controller.rb +++ b/app/controllers/integration/exchange_controller.rb @@ -13,7 +13,7 @@ class Integration::ExchangeController < ApplicationController ) { - endpoint: client.autodiscover.ews_url, + endpoint: client.try(:autodiscover).try(:ews_url), } end end