Skip to content

Commit

Permalink
Fix #10838: APPLICATION WARNING #300: String 'configuration_corrupted…
Browse files Browse the repository at this point in the history
…' not found.

Database connection seems to be alread in utf8 so there is no need to convert the read value from database to utf8.
Added the missing english localization.

Signed-off-by: Daniel Tschinder <code@tschinder.de>
Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
  • Loading branch information
danez authored and davidhicks committed Oct 27, 2009
1 parent 5c784ed commit b165230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion adm_config_report.php
Expand Up @@ -63,7 +63,7 @@ function print_config_value_as_string( $p_type, $p_value ) {
echo string_nl2br( string_html_specialchars( "'$t_value'" ) );
return;
case CONFIG_TYPE_COMPLEX:
$t_value = @unserialize( utf8_decode( $p_value ) );
$t_value = @unserialize( $p_value );
if ( $t_value === false ) {
$t_corrupted = true;
}
Expand Down
1 change: 1 addition & 0 deletions lang/strings_english.txt
Expand Up @@ -836,6 +836,7 @@ $s_configuration_option_value = 'Value';
$s_all_users = 'All Users';
$s_set_configuration_option = 'Set Configuration Option';
$s_delete_config_sure_msg = 'Are you sure you wish to delete this configuration option?';
$s_configuration_corrupted = 'The configuration in database is corrupted.';

# manage_plugin_page.php
$s_plugin = 'Plugin';
Expand Down

0 comments on commit b165230

Please sign in to comment.