From 62a061a15753c892b72b434ae8764044c9f1baed Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 22 May 2014 13:00:07 +0200 Subject: [PATCH] Bug 12023: (follow-up) fix redirect to step 3 This patch fixes the redirection to step 3. If you go on installer/install.pl and Koha is already installed, you should be redirected to the step 3. Without this patch, the script raised an internal error (500). Signed-off-by: Jonathan Druart Signed-off-by: Robin Sheat Signed-off-by: Galen Charlton --- installer/install.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index e2ee3729f1..389dabd3b6 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -397,8 +397,8 @@ else { if ( $rq->execute ) { my ($version) = $rq->fetchrow; if ($version) { - $query->redirect("install.pl?step=3"); - exit; + print $query->redirect("/cgi-bin/koha/installer/install.pl?step=3"); + exit; } } } -- 2.39.5