Changeset 1812 for trunk/system/libraries/Validation.php
- Timestamp:
- 01/25/2008 01:02:26 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Validation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Validation.php
r1808 r1812 496 496 return empty($this->errors); 497 497 } 498 499 // Validate the uploaded file500 if ( ! isset($data['tmp_name']) OR ! is_uploaded_file($data['tmp_name']))501 return FALSE;502 498 503 499 // Parse addition parameters … … 595 591 } 596 592 593 // Validate the uploaded file 594 if ( ! isset($data['tmp_name']) OR ! is_uploaded_file($data['tmp_name'])) 595 return FALSE; 596 597 597 if ($maxsize['file'] AND $data['size'] > $maxsize['file']) 598 598 {
