From: Michael M Slusarz Date: Thu, 21 Oct 2010 01:22:43 +0000 (-0600) Subject: Bug #9313: Fix logintask confirmation X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6d69e71624b0a9bcc47b62d64c4f0e002b64fbe0;p=horde.git Bug #9313: Fix logintask confirmation Session data type might change - if it changes from array/object to scalar, remove the typehint declaration stored in the session. Possibly fixes Bug #9324 Possibly fixes Bug #9325 --- diff --git a/framework/Core/lib/Horde/Session.php b/framework/Core/lib/Horde/Session.php index 989ff06df..5a5d3a46c 100644 --- a/framework/Core/lib/Horde/Session.php +++ b/framework/Core/lib/Horde/Session.php @@ -345,6 +345,8 @@ class Horde_Session implements ArrayAccess $value = lzf_compress($value); } $_SESSION[self::SERIALIZED][$ob->key] = 'j'; + } else { + unset($_SESSION[self::SERIALIZED][$ob->key]); } $_SESSION[$ob->app][$ob->name] = $value;