Added more fixes for PHP 5.2.0.

This commit is contained in:
Loic d'Anterroches
2008-09-05 14:38:50 +02:00
parent c8e91d80f2
commit f4cbf84559
2 changed files with 3 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ class IDF_Views_Source
$page_title = $bc.' - '.$title;
$cobject = $scm->getCommit($commit);
$tree_in = in_array($commit, $branches);
$res = $scm->filesAtCommit($commit, $request_file);
$res = new Pluf_Template_ContextVars($scm->filesAtCommit($commit, $request_file));
// try to find the previous level if it exists.
$prev = split('/', $request_file);
$l = array_pop($prev);