From ad8a6d30718d6f5c4e64c8c012c2bf3b4c8c48c1 Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Wed, 27 May 2009 08:41:11 +0200 Subject: [PATCH] Fixed error when accessing the help page. --- src/IDF/templates/idf/source/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/templates/idf/source/base.html b/src/IDF/templates/idf/source/base.html index f80a937..534e605 100644 --- a/src/IDF/templates/idf/source/base.html +++ b/src/IDF/templates/idf/source/base.html @@ -1,7 +1,7 @@ {extends "idf/base.html"} {block tabsource} class="active"{/block} {block subtabs} -{if array_key_exists($commit, $branches)}{assign $currentCommit = $commit}{else}{assign $currentCommit = $project.getScmRoot()}{/if} +{if !$inHelp and array_key_exists($commit, $branches)}{assign $currentCommit = $commit}{else}{assign $currentCommit = $project.getScmRoot()}{/if}
{trans 'Source Tree'} | {trans 'Change Log'}