Show
Ignore:
Timestamp:
09/06/08 15:28:41 (4 months ago)
Author:
ringmaster
Message:

If Habari specifies the use of the mbstring extension, then it *must* be loaded if it is to make use of it. Revised that if. Feel free to work it differently.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/classes/multibyte.php

    r2401 r2449  
    237237        } 
    238238 
    239         if ( self::$use_library == self::USE_MBSTRING ) { 
    240             if ( extension_loaded( 'mbstring' ) ) { 
    241                 $ret = mb_strtolower( $str, $enc ); 
    242             } 
     239        if ( self::$use_library == self::USE_MBSTRING ) && extension_loaded( 'mbstring' ) { 
     240            $ret = mb_strtolower( $str, $enc ); 
    243241        } 
    244242        else {