[koha-commits] main Koha release repository branch new/bug_6673 created. v3.04.00-625-g973371a
Git repo owner
gitmaster at git.koha-community.org
Wed Sep 28 09:31:31 CEST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_6673 has been created
at 973371a68b1c2a8af7d90afab8db15bda567f606 (commit)
- Log -----------------------------------------------------------------
commit 973371a68b1c2a8af7d90afab8db15bda567f606
Author: Ian Walls <ian.walls at bywatersolutions.com>
Date: Wed Sep 21 11:08:33 2011 -0400
Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname
In the 5 places in the label editor, the user's current branch is determined by taking
the LoginBranchname and doing a reverse look up for the branchcode. This is an unnecessary
query, since C4::Context->userenv has the immediate access to the branchcode; this is how
it's summoned in all other points in the Koha code.
This addresses bug 6673 because, since the move to T:T, the call in tools/manage-marc-import.pl
has used in correct syntax: $template->param('LoginBranchname') instead of $template->{VARS}->param('LoginBranchname')
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Ian Walls <ian.walls at bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list