http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6673

--- Comment #9 from Chris Cormack <ch...@bigballofwax.co.nz> 2011-09-21 
02:39:16 UTC ---
Furthermore

In 3.4.x and onwards, 
$template->param('LoginBranchname') always returns nothing 

$template->param('anything') will always return nothing. With the change to
template::toolkit the param call is just a wrapper to set a variable for use by
the template:

$template->param('fish' => 'food') == $template->{VARS}->{'fish'} = 'food';
$template->param('fish') == $template->{VARS}-{'fish'} = '';

The way to get a variable is $template->{VARS}->{'LoginBranchname'}

I agree, we may as well just fetch the branch for the userenv. The reason its
failing now, is branch is never going to be set with the existing code

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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