Skip to content

Commit

Permalink
Fix installer blocked at stage 2
Browse files Browse the repository at this point in the history
Commit 624f905 introduced a regression
causing the installer to stop at stage 2, i.e. the database was never
created.

Fixes #22985

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Rewrote original commit's message, correct author's e-mail.
  • Loading branch information
7h3ju57 authored and dregad committed Jun 9, 2017
1 parent b1010be commit 0de67c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions admin/install.php
Expand Up @@ -495,12 +495,12 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
</tr>

<?php
if( false == $g_failed ) {
$t_install_state++;
} else {
$t_install_state--; # a check failed, redisplay the questions
}
} # end if db open
if( false == $g_failed ) {
$t_install_state++;
} else {
$t_install_state--; # a check failed, redisplay the questions
}
} # end 2 == $t_install_state
?>

Expand Down

0 comments on commit 0de67c3

Please sign in to comment.