https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39540
--- Comment #2 from Tomás Cohen Arazi (tcohen) <[email protected]> --- The code is correct. But could you please just add the template variable inside the IF? It would make the code more concise and simpler to track to. The patch wouldn't need to change so many files for tidying the structure too. Something like: ```perl if ( C4::Context->config("enable_plugins") ) { $template->param( overwrite_calc_fine_plugins => [ Koha::Plugins->new->GetPlugins( { method => 'overwrite_calc_fine', } ) ]; } ``` Thanks! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://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/
