Changeset 1888

Show
Ignore:
Timestamp:
01/31/08 10:32:55 (7 months ago)
Author:
Geert
Message:

Follow-up to r1887. You only need to use utf8::trim() if you are supplying a charlist (2nd param) that contains UTF-8 characters. Otherwise trim will work normally on a UTF-8 string.

Files:
1 modified

Legend:

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

    r1887 r1888  
    290290                { 
    291291                        // Trim string values 
    292                         $this->data['value'] = utf8::trim($this->data['value']); 
     292                        $this->data['value'] = trim($this->data['value']); 
    293293                } 
    294294        }