Saving events to Events DB : Fixed bugs when connection string was not defined, ver. 2.26.1543
This commit is contained in:
@@ -199,7 +199,7 @@ namespace TBF.UI.Calendar
|
||||
log.ErrorFormat("Failed to load or update CustomEvent-s in ServeTriggerEvtCalendarEvents(): {0}", exc.Message);
|
||||
}
|
||||
|
||||
if (eventsToTrigger.Count > 0)
|
||||
if (eventsToTrigger.Count > 0 && !string.IsNullOrEmpty(global::Events.DB.ConnectionString))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user