From 45ac8f7dbdddc580b29dbf81fd52bb4141ac43c7 Mon Sep 17 00:00:00 2001 From: Ian Date: Wed, 19 Aug 2015 12:56:20 +0200 Subject: [PATCH] fix an undefined index --- .../serendipity_event_multilingual.php | 1 + 1 file changed, 1 insertion(+) diff --git a/serendipity_event_multilingual/serendipity_event_multilingual.php b/serendipity_event_multilingual/serendipity_event_multilingual.php index 745260f9..a9ff8314 100755 --- a/serendipity_event_multilingual/serendipity_event_multilingual.php +++ b/serendipity_event_multilingual/serendipity_event_multilingual.php @@ -68,6 +68,7 @@ class serendipity_event_multilingual extends serendipity_event } if (!defined('IN_serendipity_admin')) { + $resetlang = false; // GET is either a forced session or a single entry lang and we normally do not use it with cookies set, since they have preference if (serendipity_db_bool($this->get_config('langswitch')) && (!isset($_POST['user_language']) || !isset($_COOKIE['serendipityLanguage']))) { // check for REQUESTs being sent (imagine the user in a DE blog links an EN entry version and force option is set TRUE)