View | Details | Raw Unified | Return to bug 18089
Collapse All | Expand All

(-)a/C4/XSLT.pm (-2 / +1 lines)
Lines 179-185 sub get_xslt_sysprefs { Link Here
179
179
180
    # singleBranchMode was a system preference, but no longer is
180
    # singleBranchMode was a system preference, but no longer is
181
    # we can retain it here for compatibility
181
    # we can retain it here for compatibility
182
    my $singleBranchMode = Koha::Libraries->search->count == 1;
182
    my $singleBranchMode = Koha::Libraries->search->count == 1 ? 1 : 0;
183
    $sysxml .= "<syspref name=\"singleBranchMode\">$singleBranchMode</syspref>\n";
183
    $sysxml .= "<syspref name=\"singleBranchMode\">$singleBranchMode</syspref>\n";
184
184
185
    $sysxml .= "</sysprefs>\n";
185
    $sysxml .= "</sysprefs>\n";
186
- 

Return to bug 18089