Fixed: Null reference exception
This commit is contained in:
parent
030f4c7eb9
commit
b1c67b8f22
1 changed files with 2 additions and 3 deletions
|
@ -125,10 +125,9 @@ namespace WebsitePanel.Portal
|
||||||
}
|
}
|
||||||
|
|
||||||
// FILE MANAGER
|
// FILE MANAGER
|
||||||
settings = ES.Services.System.GetSystemSettings(
|
settings = ES.Services.System.GetSystemSettings(WSP.SystemSettings.FILEMANAGER_SETTINGS);
|
||||||
WSP.SystemSettings.FILEMANAGER_SETTINGS);
|
|
||||||
|
|
||||||
if (settings != null)
|
if (settings != null && !String.IsNullOrEmpty(settings[FILE_MANAGER_EDITABLE_EXTENSIONS]))
|
||||||
{
|
{
|
||||||
txtFileManagerEditableExtensions.Text = settings[FILE_MANAGER_EDITABLE_EXTENSIONS].Replace(",", System.Environment.NewLine);
|
txtFileManagerEditableExtensions.Text = settings[FILE_MANAGER_EDITABLE_EXTENSIONS].Replace(",", System.Environment.NewLine);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue