Changeset 420

Show
Ignore:
Timestamp:
04/23/07 17:53:14 (2 years ago)
Author:
laurentj
Message:

ticket #164: Syntax Errors in jFormsBase

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/forms/jFormsBase.class.php

    r386 r420  
    9898                $this->_errors[$name]=JFORM_ERRDATA_REQUIRED; 
    9999            }elseif($ctrl->datatype->check($value)){ 
    100                 $this->_errors[$name]=JFORM_ERRDATA_VALID; 
     100                $this->_errors[$name]=JFORM_ERRDATA_INVALID; 
    101101            } 
    102102        } 
    103         return count($this->errors) == 0; 
     103        return count($this->_errors) == 0; 
    104104    } 
    105105 
Download in other formats: Unified Diff Zip Archive