fix #3656 - UploadableFiles and ImageFiles settings not loaded properly to handle empty string value resulting in upload issues
This commit is contained in:
		| @ -409,8 +409,9 @@ | ||||
|                 } | ||||
|  | ||||
|                 settings = await SettingService.GetUserSettingsAsync(PageState.User.UserId); | ||||
|                 var sitesettings = await SettingService.GetSiteSettingsAsync(SiteState.Alias.SiteId); | ||||
|                 var sitesettings = await SettingService.GetSiteSettingsAsync(PageState.Site.SiteId); | ||||
|                 _ImageFiles = SettingService.GetSetting(settings, "ImageFiles", Constants.ImageFiles); | ||||
|                 _ImageFiles = (string.IsNullOrEmpty(_ImageFiles)) ? Constants.ImageFiles : _ImageFiles; | ||||
|  | ||||
|                 await LoadNotificationsAsync(); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 sbwalker
					sbwalker