Development

Changeset 2976

You must first sign up to be able to contribute.

Changeset 2976

Show
Ignore:
Timestamp:
12/08/06 20:11:36 (2 years ago)
Author:
fabien
Message:

fixed iconv usage for php < 5.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/util/sfFillInForm.class.php

    r2936 r2976  
    186186  protected function escapeValue($value, $name) 
    187187  { 
    188     if (extension_loaded('iconv') && strtolower(sfConfig::get('sf_charset')) != 'utf-8') 
     188    if (function_exists('iconv') && strtolower(sfConfig::get('sf_charset')) != 'utf-8') 
    189189    { 
    190190      $new_value = iconv(sfConfig::get('sf_charset'), 'UTF-8', $value);