Changeset 2382
- Timestamp:
- 03/30/08 00:55:58 (3 months ago)
- Files:
-
- trunk/system/libraries/Validation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/system/libraries/Validation.php
r2360 r2382 138 138 public function pre_filter($filter, $field = TRUE) 139 139 { 140 if ( method_exists($this, $filter))140 if (is_string($filter) AND method_exists($this, $filter)) 141 141 { 142 142 // Make the filter a valid callback … … 180 180 public function post_filter($filter, $field = TRUE) 181 181 { 182 if ( method_exists($this, $filter))182 if (is_string($filter) AND method_exists($this, $filter)) 183 183 { 184 184 // Make the filter a valid callback
