Development

#305: checkbox2.patch

You must first sign up to be able to contribute.

Ticket #305: checkbox2.patch

File checkbox2.patch, 0.9 kB (added by sebastien.estienne@gmail.com, 3 years ago)

this is another patch that apply cleanly to the last revision in subversion

  • /usr/share/php/data/symfony/generator/sfPropelAdmin/default/template/actions/actions.class.php

    old new  
    139139 
    140140    if (!$this->getRequest()->hasErrors() && $this->getRequest()->getFileSize('<?php echo $this->getSingularName() ?>[<?php echo $name ?>]')) 
    141141    { 
    142 <?php else: ?> 
     142<?php elseif ($type != CreoleTypes::BOOLEAN): ?> 
    143143    if (isset($<?php echo $this->getSingularName() ?>['<?php echo $name ?>'])) 
    144144    { 
    145145<?php endif ?> 
     
    167167<?php else: ?> 
    168168      $this-><?php echo $this->getSingularName() ?>->set<?php echo $column->getPhpName() ?>($<?php echo $this->getSingularName() ?>['<?php echo $name ?>']); 
    169169<?php endif ?> 
     170<?php if ($type != CreoleTypes::BOOLEAN): ?> 
    170171    } 
     172<?php endif ?> 
    171173<?php if ($credentials): ?> 
    172174      } 
    173175<?php endif ?>