From c8e91d80f27e28e3198215c121e9ecaf93626d21 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Fri, 5 Sep 2008 10:45:01 +0200 Subject: [PATCH] Forced as ContextVars for 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 b4a9706..eabb585 100644 --- a/src/IDF/Views/Source.php +++ b/src/IDF/Views/Source.php @@ -76,7 +76,7 @@ class IDF_Views_Source return new Pluf_HTTP_Response_Redirect($url); } - $res = $scm->filesAtCommit($commit); + $res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit)); $cobject = $scm->getCommit($commit); $tree_in = in_array($commit, $branches); $scmConf = $request->conf->getVal('scm', 'git');