Bug 16724: Fix link to the online documentation links
Since the numbering changes, the online doc links are broken.
Test plan:
Make sure the online doc links work on the help pages.
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 27de2ece61)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
9b5c84e88b
commit
ad4f188ef6
3
help.pl
3
help.pl
|
|
@ -69,7 +69,8 @@ my $help_version = C4::Context->preference("Version");
|
|||
if ( $help_version =~ m|^(\d+)\.(\d{2}).*$| ) {
|
||||
my $version = $1;
|
||||
my $major = $2;
|
||||
if ( $major % 2 ) { $major-- };
|
||||
unless ( $major % 2 ) { $major-- };
|
||||
$major = sprintf("%02d", $major);
|
||||
$help_version = "$version.$major";
|
||||
}
|
||||
$template->param( helpVersion => $help_version );
|
||||
|
|
|
|||
Loading…
Reference in New Issue