Ticket #4973: virtual_fields_type.patch
| File virtual_fields_type.patch, 0.8 kB (added by peper, 1 year ago) |
|---|
-
lib/generator/sfModelGeneratorConfiguration.class.php
old new 76 76 } 77 77 78 78 $this->configuration['list']['fields'][$field] = new sfModelGeneratorConfigurationField($field, array_merge( 79 array('type' => 'Text'), 79 80 array('label' => sfInflector::humanize(sfInflector::underscore($field))), 80 isset($config['default'][$field]) ? $config['default'][$field] : array(),81 81 isset($config['list'][$field]) ? $config['list'][$field] : array(), 82 array('is_real' => false, ' type' => 'Text', 'flag' => $flag)82 array('is_real' => false, 'flag' => $flag) 83 83 )); 84 84 } 85 85

