Welcome Guest, Not a member yet? Register   Sign In
form_open_multipart with form_validation - am I missing something or is it a bug ?
#6

[eluser]DeaD SouL[/eluser]
Right,..

You made me check the form_validation::run()

Code:
[....]
    function run($group = '')
    {
        // Do we even have any data to process?  Mm?
        if (count($_POST) == 0)
        {
            return FALSE;
        }

        // Does the _field_data array containing the validation rules exist?
        // If not, we look to see if they were assigned via a config file
        if (count($this->_field_data) == 0)
        {
            // No validation rules?  We're done...
            if (count($this->_config_rules) == 0)
            {
                return FALSE;
            }
            [....]

Thanks waldmeister Smile


Messages In This Thread
form_open_multipart with form_validation - am I missing something or is it a bug ? - by El Forum - 06-02-2011, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB