From 73dde7a03a962beaf4442286aa46aceba4b4abda Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Wed, 19 Mar 2008 07:20:08 -0400 Subject: [PATCH] Correcting warn concerning kohaversion. Signed-off-by: Joshua Ferraro --- C4/Auth.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 44baf4fb0f..b0a9046d11 100755 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -419,8 +419,7 @@ sub _version_check ($$) { $kohaversion =~ s/(.*\..*)\.(.*)\.(.*)/$1$2$3/; $debug and print STDERR "kohaversion : $kohaversion\n"; if ($version < $kohaversion){ - my $warning = "Database update needed, redirecting to %s. Database is $version and Koha is " - . C4::Context->config("kohaversion"); + my $warning = "Database update needed, redirecting to %s. Database is $version and Koha is $kohaversion"; if ($type ne 'opac'){ warn sprintf($warning, 'Installer'); print $query->redirect("/cgi-bin/koha/installer/install.pl?step=3"); -- 2.39.5