Skip to content

Commit efb2e44

Browse files
committedMar 14, 2015
Install: fix output of failed upgrade function
The installer should not print 'Array'. Fixes #19500
1 parent 45e4692 commit efb2e44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎admin/install.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,9 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
998998
} else {
999999
$t_all_sql = '';
10001000
foreach ( $t_sqlarray as $t_single_sql ) {
1001-
$t_all_sql .= $t_single_sql . '<br />';
1001+
if( !empty( $t_single_sql ) ) {
1002+
$t_all_sql .= $t_single_sql . '<br />';
1003+
}
10021004
}
10031005
print_test_result( BAD, true, $t_all_sql . $g_db->ErrorMsg() );
10041006
}

0 commit comments

Comments
 (0)
Please sign in to comment.