Changeset 17583
- Timestamp:
- 04/24/09 17:22:34 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/generator/sfModelGeneratorConfiguration.class.php
r17581 r17583 388 388 * edit/new form page, to avoid data injection while saving the object. 389 389 * 390 * @param mixed$form391 * @return void392 */ 393 protected function fixUnusedFields( $form)390 * @param sfForm $form 391 * @return sfForm 392 */ 393 protected function fixUnusedFields(sfForm $form) 394 394 { 395 395 if (!$display = $form->getObject()->isNew() ? $this->getNewDisplay() : $this->getEditDisplay()) branches/1.3/lib/generator/sfModelGeneratorConfiguration.class.php
r17582 r17583 438 438 * edit/new form page, to avoid data injection while saving the object. 439 439 * 440 * @param mixed$form441 * @return void442 */ 443 protected function fixUnusedFields( $form)440 * @param sfForm $form 441 * @return sfForm 442 */ 443 protected function fixUnusedFields(sfForm $form) 444 444 { 445 445 if (!$display = $form->getObject()->isNew() ? $this->getNewDisplay() : $this->getEditDisplay())