Permalink
Browse files

Install: fix variable names in generated config file

The config_inc.php file generated by the installer had incorrect
variable names for the table prefix and suffix, missing the 'g_'.

Fixes #16966
  • Loading branch information...
1 parent a21a678 commit 031bb1f40181b0a40955ec04232b4ba729af84ed @dregad dregad committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/install.php
View
@@ -1016,7 +1016,7 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
foreach( $t_prefix_defaults['other'] as $t_key => $t_value ) {
$t_new_value = ${'f_' . $t_key};
if( $t_new_value != $t_value ) {
- $t_config .= '$' . str_pad( $t_key, 25 ) . "= '" . ${'f_' . $t_key} . "';\n";
+ $t_config .= '$g_' . str_pad( $t_key, 25 ) . "= '" . ${'f_' . $t_key} . "';\n";
$t_insert_line = true;
}
}

0 comments on commit 031bb1f

Please sign in to comment.