From c797e6c7c38c0e244433a259fb298e038355d3cf Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Fri, 7 Nov 2008 14:31:45 +0100 Subject: [PATCH] Fixed minor compatibility issue with PHP 5.2. --- src/IDF/Views/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views/Source.php b/src/IDF/Views/Source.php index 173010a..56b9551 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -46,7 +46,7 @@ class IDF_Views_Source $branches[0])); return new Pluf_HTTP_Response_Redirect($url); } - $res = $scm->getChangeLog($commit, 25); + $res = new Pluf_Template_ContextVars($scm->getChangeLog($commit, 25)); $scmConf = $request->conf->getVal('scm', 'git'); return Pluf_Shortcuts_RenderToResponse('source/changelog.html', array(