Skip to content

Commit

Permalink
Fix system warning + notice in install.php
Browse files Browse the repository at this point in the history
These error messages appeared if the installer is run when the config
file exists but the database it references does not.

Fixes #17805
  • Loading branch information
dregad committed Apr 23, 2015
1 parent e2391f6 commit 3e94c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/install.php
Expand Up @@ -188,7 +188,8 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
$f_timezone = config_get( 'default_timezone', '' );

# Set default prefix/suffix form variables ($f_db_table_XXX)
foreach( $t_prefix_defaults['other'] as $t_key => $t_value ) {
$t_prefix_type = 'other';
foreach( $t_prefix_defaults[$t_prefix_type] as $t_key => $t_value ) {
${'f_' . $t_key} = $t_value;
}
} else {
Expand Down

0 comments on commit 3e94c7a

Please sign in to comment.