[Koha-bugs] [Bug 16724] Link from online help to manual broken (as of version 16.05)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Jun 18 15:16:20 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16724
--- Comment #9 from Jonathan Druart <jonathan.druart at 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.
More information about the Koha-bugs
mailing list