[Koha-bugs] [Bug 14764] Add OPAC News branch selector
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 09:56:24 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14764
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at bugs.koha-c
| |ommunity.org
--- Comment #39 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Liz:
Is this:
if (defined $input->param('branch') and length $input->param('branch')) {
$homebranch = $input->param('branch');
}
if (C4::Context->userenv and defined $input->param('branch') and length
$input->param('branch') == 0 ){
$homebranch = "";
}
could actually be:
if (defined $input->param('branch') and length $input->param('branch')) {
$homebranch = $input->param('branch');
} elsif (C4::Context->userenv and defined $input->param('branch') ) {
$homebranch = "";
}
?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list