https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16724 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to M. Tompsett from comment #8)
Comment on attachment 52341 [details] [review] Bug 16724: Fix link to the online documentation links
Review of attachment 52341 [details] [review]: -----------------------------------------------------------------
::: help.pl @@ +69,5 @@
if ( $help_version =~ m|^(\d+)\.(\d{2}).*$| ) { my $version = $1; my $major = $2; + unless ( $major % 2 ) { $major-- }; + $major = sprintf("%02d", $major);
Why not put the sprintf on the next line and remove the interpolation too? :) This works too, though.
I don't understand. Do you suggest $help_version = $version . '.' . sprintf("%02d", $major); ? -- You are receiving this mail because: You are watching all bug changes.