https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16724
--- Comment #9 from Jonathan Druart <[email protected]> --- (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. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
