mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing issue where empty encoding would trigger a warning in Multibyte
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7817 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5a0ab7b220
commit
dc35135dd9
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
* @lastmodified $Date$
|
||||
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
||||
*/
|
||||
if (function_exists('mb_internal_encoding')) {
|
||||
if (function_exists('mb_internal_encoding') && Configure::read('App.encoding') != null) {
|
||||
mb_internal_encoding(Configure::read('App.encoding'));
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue