Development

#305: checkbox.patch

You must first sign up to be able to contribute.

Ticket #305: checkbox.patch

File checkbox.patch, 0.8 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    { 
     145<? else: ?> 
     146    { 
    145147<?php endif ?> 
    146148<?php if ($input_type == 'admin_input_upload_tag'): ?> 
    147149      $fileName = md5($this->getRequest()->getFileName('<?php echo $this->getSingularName() ?>[<?php echo $name ?>]').time());