https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14764

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org

--- Comment #39 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to