Show
Ignore:
Timestamp:
01/31/2008 09:22:24 AM (10 months ago)
Author:
Shadowhand
Message:

Fixing #361, thanks cmike and sinner.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/forge/libraries/Form_Input.php

    r1594 r1887  
    110110                else 
    111111                { 
    112                         $this->data['label'] = ($val === TRUE) ? ucwords(inflector::humanize($this->name)) : $val; 
     112                        $this->data['label'] = ($val === TRUE) ? utf8::ucwords(inflector::humanize($this->name)) : $val; 
    113113                        return $this; 
    114114                } 
     
    239239 
    240240                                // Add the label or name to the beginning of the args 
    241                                 array_unshift($args, $this->label ? strtolower($this->label) : $this->name); 
     241                                array_unshift($args, $this->label ? utf8::strtolower($this->label) : $this->name); 
    242242 
    243243                                if (isset($this->error_messages[$func])) 
     
    290290                { 
    291291                        // Trim string values 
    292                         $this->data['value'] = trim($this->data['value']); 
     292                        $this->data['value'] = utf8::trim($this->data['value']); 
    293293                } 
    294294        }