[Koha-bugs] [Bug 32205] Unnecessary sysprefs used in template params for masthead during failed OPAC auth

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 23 00:59:27 CET 2022


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

--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Fridolin Somers from comment #3)
> Ah I found a place where a preference is missing Koha.Preference() use.
> It is TagsEnabled at :
> 
> koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt:[% SET
> TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) &&
> TagsEnabled && TagsInputOnList ) %]

It gets fetched in opac/opac-basket.pl using
C4::Context->preference('TagsEnabled') and then passed to the template as
TagsEnabled.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list