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:
parent
07ad0dba70
commit
f9d481e513
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue