From: Michael J. Rubinsky Date: Mon, 24 May 2010 17:45:03 +0000 (-0400) Subject: need to cast to string before serializing X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=15ea1b59619feca4efa2537d182553d87ebbc7c7;p=horde.git need to cast to string before serializing --- diff --git a/horde/lib/Prefs/Ui.php b/horde/lib/Prefs/Ui.php index b80b1f860..3346dd3fb 100644 --- a/horde/lib/Prefs/Ui.php +++ b/horde/lib/Prefs/Ui.php @@ -233,7 +233,7 @@ class Horde_Prefs_Ui * frame. */ if ($old_sidebar) { Horde::addInlineScript( - 'window.parent.frames.location = ' . Horde_Serialize::serialize($url, Horde_Serialize::JSON, Horde_Nls::getCharset()) . ';' + 'window.parent.frames.location = ' . Horde_Serialize::serialize((string)$url, Horde_Serialize::JSON, Horde_Nls::getCharset()) . ';' ); } else { Horde::redirect($url);