Syntax fix

This commit is contained in:
Rick Falkvinge
2011-12-06 16:23:13 +00:00
parent 715d36d33e
commit 2116b216de
+1 -1
View File
@@ -170,7 +170,7 @@ namespace Activizr.Database
// If we still have nothing, and we're running from web, then assume we have a dev environment and use the hostname as db, user, and pass.
if (String.IsNullOrEmpty(connectionString))
{
else if (HttpContext.Current != null)
if (HttpContext.Current != null)
{
string hostName = HttpContext.Current.Request.Url.Host;