Changeset 8947
- Timestamp:
- 05/14/08 11:18:41 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/task/generator/sfGenerateTaskTask.class.php
r8514 r8947 65 65 66 66 // Validate the class name 67 if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $ app))67 if (!preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $taskClassName)) 68 68 { 69 throw new sfCommandException(sprintf('The task class name "%s" is invalid.', $ app));69 throw new sfCommandException(sprintf('The task class name "%s" is invalid.', $taskClassName)); 70 70 } 71 71