Skip to content

Commit

Permalink
Install: fix output of failed upgrade function
Browse files Browse the repository at this point in the history
The installer should not print 'Array'.

Fixes #19500
  • Loading branch information
dregad committed Mar 14, 2015
1 parent 45e4692 commit efb2e44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/install.php
Expand Up @@ -998,7 +998,9 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
} else {
$t_all_sql = '';
foreach ( $t_sqlarray as $t_single_sql ) {
$t_all_sql .= $t_single_sql . '<br />';
if( !empty( $t_single_sql ) ) {
$t_all_sql .= $t_single_sql . '<br />';
}
}
print_test_result( BAD, true, $t_all_sql . $g_db->ErrorMsg() );
}
Expand Down

0 comments on commit efb2e44

Please sign in to comment.