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