From 10fe1ab8f919bda9479b278a57db6068257fe3f3 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 22 May 2014 13:00:07 +0200 Subject: [PATCH] Bug 12023: installer - 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 --- installer/install.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/install.pl b/installer/install.pl index e2ee372..389dabd 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.0.0.rc2