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 <jonathan.druart@biblibre.com>
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2014-05-22 13:00:07 +02:00 committed by Galen Charlton
parent 07ad0dba70
commit f9d481e513
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}