mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- added information about Unicode to coding guidelines
- two little changes git-svn-id: file:///svn/phpbb/trunk@8035 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1371,7 +1371,7 @@ class parse_message extends bbcode_firstpass
|
||||
include_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
||||
|
||||
$index = array_keys(request_var('delete_file', array(0 => 0)));
|
||||
$index = (!empty($index[0])) ? $index[0] : false;
|
||||
$index = (!empty($index)) ? $index[0] : false;
|
||||
|
||||
if ($index !== false && !empty($this->attachment_data[$index]))
|
||||
{
|
||||
|
@@ -908,8 +908,8 @@ function utf8_recode($string, $encoding)
|
||||
}
|
||||
|
||||
// Trigger an error?! Fow now just give bad data :-(
|
||||
//trigger_error('Unknown encoding: ' . $encoding, E_USER_ERROR);
|
||||
return $string;
|
||||
trigger_error('Unknown encoding: ' . $encoding, E_USER_ERROR);
|
||||
//return $string; // use utf_normalizer::cleanup() ?
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user