From: Michael Rubinsky Date: Mon, 7 Dec 2009 22:53:03 +0000 (+0000) Subject: Need to cast to string here, though it's still not working correctly... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f8e226a9421b87c6f095f299ab06e5c35870f04a;p=horde.git Need to cast to string here, though it's still not working correctly... now we get a revision NONE not found instead of the funky [object] urls --- diff --git a/chora/annotate.php b/chora/annotate.php index 7e7d443cf..e5ba3e860 100644 --- a/chora/annotate.php +++ b/chora/annotate.php @@ -49,7 +49,7 @@ $extraLink = sprintf('%s | %s', Horde::addScriptFile('annotate.js', 'chora'); $js_vars = array( - 'ANNOTATE_URL' => Horde_Util::addParameter(Horde::applicationUrl('annotate.php'), array('actionID' => 'log', 'f' => $where, 'rev' => ''), null, false), + 'ANNOTATE_URL' => (string)Horde_Util::addParameter(Horde::applicationUrl('annotate.php'), array('actionID' => 'log', 'f' => $where, 'rev' => ''), null, false), 'loading_text' => _("Loading...") );