Do not return Null from SettingsRepository.Load().
This commit is contained in:
1 parent
c9fc4a5fae
commit
6af2243660
1 file changed
+1
-1
@@ -49,7 +49,7 @@ namespace zaaReloaded2.Controller
|
|||||||
string s = Properties.Settings.Default.SettingsRepository;
|
string s = Properties.Settings.Default.SettingsRepository;
|
||||||
if (String.IsNullOrEmpty(s))
|
if (String.IsNullOrEmpty(s))
|
||||||
{
|
{
|
||||||
return null;
|
return new SettingsRepository();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user