diff --git a/C4/XSLT.pm b/C4/XSLT.pm index a8294020ed..b757f8ff8b 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -179,7 +179,7 @@ sub get_xslt_sysprefs { # singleBranchMode was a system preference, but no longer is # we can retain it here for compatibility - my $singleBranchMode = Koha::Libraries->search->count == 1; + my $singleBranchMode = Koha::Libraries->search->count == 1 ? 1 : 0; $sysxml .= "$singleBranchMode\n"; $sysxml .= "\n";