Need to cast to string here, though it's still not working correctly...
authorMichael Rubinsky <mrubinsk@simon.horde.org>
Mon, 7 Dec 2009 22:53:03 +0000 (22:53 +0000)
committerMichael Rubinsky <mrubinsk@simon.horde.org>
Mon, 7 Dec 2009 22:54:01 +0000 (22:54 +0000)
now we get a revision NONE not found instead of the funky [object] urls

chora/annotate.php

index 7e7d443..e5ba3e8 100644 (file)
@@ -49,7 +49,7 @@ $extraLink = sprintf('<a href="%s">%s</a> | <a href="%s">%s</a>',
 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...")
 );