From f8e226a9421b87c6f095f299ab06e5c35870f04a Mon Sep 17 00:00:00 2001 From: Michael Rubinsky Date: Mon, 7 Dec 2009 22:53:03 +0000 Subject: [PATCH] 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 --- chora/annotate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...") ); -- 2.11.0