Ticket #576: jDaoGenerator.class.php.diff

File jDaoGenerator.class.php.diff, 0.9 kB (added by thomas, 3 months ago)
  • lib/jelix/dao/jDaoGenerator.class.php

    old new  
    310310                    foreach($method->getValues() as $propname=>$value){ 
    311311                        if($value[1]){ 
    312312                            foreach($method->getParameters() as $param){ 
    313                                 $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],false).'.\'',$value[0]); 
     313                                $value[0] = str_replace('$'.$param, '\'.'.$this->_preparePHPExpr('$'.$param, $updatefields[$propname],true).'.\'',$value[0]); 
    314314                            } 
    315315                            $sqlSet.= ', '.$this->_encloseName($updatefields[$propname]->fieldName). '= '. $value[0]; 
    316316                        }else{ 
Download in other formats: Original Format