Permalink
Browse files

typo

  • Loading branch information...
1 parent 3fa8cbe commit 18b054f8ea430f60b5b75bc3fd19e261e5c086d9 dennis committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 coslib/strings.php
View
@@ -117,7 +117,7 @@ public static function toUTF8($content) {
// not UTF-8 - convert
$content = mb_convert_encoding($content, 'UTF-8');
- if (!defined('_COS_PATH')) {
+ if (defined('_COS_PATH')) {
if (config::getMainIni('debug')) {
if (mb_check_encoding($content, 'UTF-8')) {
log::debug('Converted to UTF-8');

0 comments on commit 18b054f

Please sign in to comment.