Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 20 Aug 2011 11:58:57 +0000 (11:58 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 20 Aug 2011 11:58:57 +0000 (11:58 +0000)
webcit/context_loop.c

index 032606708316f7a51358af7c86d547ba9bdc621b..3122ce49448fbf43e2563ec0f79d29a1b32633b0 100644 (file)
@@ -617,6 +617,7 @@ void context_loop(ParsedHttpHdrs *Hdr)
 
        TheSession->Hdr = NULL;
        TheSession->inuse = 0;                                  /* mark the session as unbound */
+       TheSession->selected_language = 0;                      /* clear any non-default language setting */
        CtdlLogResult(pthread_mutex_unlock(&TheSession->SessionMutex));
 }