Changeset 32895
- Timestamp:
- 08/05/11 12:33:59 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/cpAwsPlugin/trunk/lib/form/doctrine/PluginS3ObjectForm.class.php
r32880 r32895 33 33 )); 34 34 35 $this->mergePostValidator(new sfValidatorDoctrineUnique(array( 36 'model' => $this->getModelName(), 37 'column' => array('original_filename', 'asset_id')), array( 38 'invalid' => 'The file with the same name already exist.'))); 39 35 40 $this->disableCSRFProtection(); 36 41 $this->setOption('inlineLabels', true);