3 Apr
2025
3 Apr
'25
1:18 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39540 --- Comment #2 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- 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.