Bug 18089 - All XSLT testing singleBranchMode = 0 fails to show even if install has...
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 9 Feb 2017 11:48:40 +0000 (11:48 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 14 Feb 2017 14:07:02 +0000 (14:07 +0000)
commited5cb5fc9727ca09deb392f4392c1aa35b4e47a5
tree2390e033b5b8fb4fd1d1cefeb964cbdb092f03db
parent99cc3bdd0ec676d29205fb09d1a4e4b1e8889df0
Bug 18089 - All XSLT testing singleBranchMode = 0 fails to show even if install has only 1 branch

Due to the way it has been implemented, singleBranchMode is set to an
empty string rather than 0 if there is only one branch. This causes any
block that tests for singleBranchMOde to be 0 to never appear.

Test Plan:
1) Apply this patch set
2) prove t/XSLT.t

Signed-off-by: Jenny Schmidt <jschmidt@switchinc.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/XSLT.pm