Fix issue with Web Service Settings not saving due to bug in Helicon Code

This commit is contained in:
Virtuworks 2013-01-04 08:49:48 -05:00
commit a5b7cd4558

View file

@ -275,7 +275,12 @@ namespace WebsitePanel.Portal.ProviderControls
// Helicon Ape
bool registerHeliconApeGlobbally = chkHeliconApeGlobalRegistration.Checked;
if (registerHeliconApeGlobbally != (bool)ViewState["HeliconApeInitiallyEnabled"])
bool bHeliconApeInitiallyEnabled = false;
if (ViewState["HeliconApeInitiallyEnabled"] != null)
bHeliconApeInitiallyEnabled = (bool)ViewState["HeliconApeInitiallyEnabled"];
if (registerHeliconApeGlobbally != bHeliconApeInitiallyEnabled)
{
if (registerHeliconApeGlobbally)
{