Ticket #305: checkbox2.patch
| File checkbox2.patch, 0.9 kB (added by sebastien.estienne@gmail.com, 3 years ago) |
|---|
-
/usr/share/php/data/symfony/generator/sfPropelAdmin/default/template/actions/actions.class.php
old new 139 139 140 140 if (!$this->getRequest()->hasErrors() && $this->getRequest()->getFileSize('<?php echo $this->getSingularName() ?>[<?php echo $name ?>]')) 141 141 { 142 <?php else : ?>142 <?php elseif ($type != CreoleTypes::BOOLEAN): ?> 143 143 if (isset($<?php echo $this->getSingularName() ?>['<?php echo $name ?>'])) 144 144 { 145 145 <?php endif ?> … … 167 167 <?php else: ?> 168 168 $this-><?php echo $this->getSingularName() ?>->set<?php echo $column->getPhpName() ?>($<?php echo $this->getSingularName() ?>['<?php echo $name ?>']); 169 169 <?php endif ?> 170 <?php if ($type != CreoleTypes::BOOLEAN): ?> 170 171 } 172 <?php endif ?> 171 173 <?php if ($credentials): ?> 172 174 } 173 175 <?php endif ?>