Changeset 1812
- Timestamp:
- 01/25/08 14:02:26 (6 months ago)
- Files:
-
- trunk/system/libraries/Validation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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 {
