Changeset 1483

Show
Ignore:
Timestamp:
12/10/07 10:47:17 (9 months ago)
Author:
Shadowhand
Message:

Removing scheme from the output message.

Location:
trunk/system
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/i18n/en_US/validation.php

    r1164 r1483  
    1515    'in_array'      => 'The %s field must be selected from the options listed.', 
    1616    'matches'       => 'The %s field must match the %s field.', 
    17     'valid_url'     => 'The %s field must contain a valid URL, starting with %s://.', 
     17    'valid_url'     => 'The %s field must contain a valid URL.', 
    1818    'valid_email'   => 'The %s field must contain a valid email address.', 
    1919    'valid_ip'      => 'The %s field must contain a valid IP address.', 
  • trunk/system/libraries/Validation.php

    r1433 r1483  
    860860            return TRUE; 
    861861 
    862         $this->add_error('valid_url', $this->current_field, $scheme, $url); 
     862        $this->add_error('valid_url', $this->current_field, $url); 
    863863        return FALSE; 
    864864    }