Fixed minor compatibility issue with PHP 5.2.

This commit is contained in:
Loic d'Anterroches 2008-11-07 14:31:45 +01:00
parent ad5348e7f5
commit c797e6c7c3

View File

@ -46,7 +46,7 @@ class IDF_Views_Source
$branches[0])); $branches[0]));
return new Pluf_HTTP_Response_Redirect($url); 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'); $scmConf = $request->conf->getVal('scm', 'git');
return Pluf_Shortcuts_RenderToResponse('source/changelog.html', return Pluf_Shortcuts_RenderToResponse('source/changelog.html',
array( array(