Changeset 388
- Timestamp:
- 05/07/08 12:30:58
- Files:
-
- trunk/phpbms/include/session.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/phpbms/include/session.php
r384 r388 413 413 } 414 414 415 function html_entity_decode($string){ 416 return preg_replace_callback( 417 '/&#([0-9]+);/u', 418 'utf8_replaceEntity', 419 $string 420 ); 421 } 415 if(!function_exists("mysql_real_escape_string")){ 416 function html_entity_decode($string){ 417 return preg_replace_callback('/&#([0-9]+);/u','utf8_replaceEntity',$string); 418 }//end function 419 }//end if 420 422 421 }// end PHP<4.3 compatibility 423 422