Bug 26734: Rename activethemes with availablethemes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 27 May 2021 12:25:11 +0000 (14:25 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 27 May 2021 13:07:36 +0000 (15:07 +0200)
commite66d69fa3eaa42f484d47f1fffbf7a91156c3223
tree8a3093c23914f78cd965e900aa0acab211c81502
parent9cc6fca618707898117363971460833ed3684539
Bug 26734: Rename activethemes with availablethemes

There was an existing call to $self->activethemes that behave as setter:
   85     $self->activethemes($activethemes);

I am not sure what are the side-effects but it does not look good.

It caused warning in the logs:

Use of uninitialized value $interface in string eq at /kohadevbox/koha/C4/Templates.pm line 279.
Use of uninitialized value $interface in string eq at /kohadevbox/koha/C4/Templates.pm line 280.
Use of uninitialized value $interface in string eq at /kohadevbox/koha/C4/Templates.pm line 282.
Use of uninitialized value $lang in concatenation (.) or string at /kohadevbox/koha/C4/Templates.pm line 296.
Use of uninitialized value $lang in concatenation (.) or string at /kohadevbox/koha/C4/Templates.pm line 296.
Use of uninitialized value $lang in concatenation (.) or string at /kohadevbox/koha/C4/Templates.pm line 296

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Letters.pm
C4/Templates.pm