From b215c4d502fc12a90b2027413b9d754c0fe164b1 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Fri, 13 Sep 2019 23:04:22 +0200 Subject: [PATCH] Check DB type before calling check_pgsql_bool_columns() --- admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/install.php b/admin/install.php index 419b7c0379..ae24ee1e44 100644 --- a/admin/install.php +++ b/admin/install.php @@ -884,7 +884,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes # not a Mantis schema upgrade but nevertheless required due to # changes in the code - if( $t_last_update > 51 && $t_last_update < 189 ) { + if( $f_db_type == 'pgsql' && $t_last_update > 51 && $t_last_update < 189 ) { # Since MantisBT 1.1.0 / ADOdb 4.96 (corresponding to schema 51) # 'L' columns are BOOLEAN instead of SMALLINT # Check for any DB discrepancies and update columns if needed