Changeset 117

Show
Ignore:
Timestamp:
03/21/06 11:11:50 (3 years ago)
Author:
bballizlife
Message:

corrections bugs dans jResponseRedirect et dans jDAOBase

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/response/jResponseRedirect.class.php

    r95 r117  
    3232    public function output(){ 
    3333        if(count($this->_errorMessage)) return false; 
    34         header ('location: '.jUrl::get($this->action, $this->selectorParams)); 
     34        header ('location: '.jUrl::get($this->action, $this->params)); 
    3535        return true; 
    3636    } 
     
    3838    public function fetch(){ 
    3939        if(count($this->_errorMessage)) return false; 
    40         return 'location: '.jUrl::get($this->action, $this->selectorParams); 
     40        return 'location: '.jUrl::get($this->action, $this->params); 
    4141    } 
    4242 
  • trunk/lib/jelix/dao/jDAOBase.class.php

    r88 r117  
    132132         throw new jException('jelix~dao.error.keys.missing'); 
    133133      } 
    134       $q = 'DELETE FROM '.$this->_tables[$this->_primaryTable]['realname'].' where '; 
     134      $q = 'DELETE FROM '.$this->_tables[$this->_primaryTable]['realname'].' '; 
    135135      $q.= $this->_getPkWhereClauseForNonSelect($keys); 
    136136      return $this->_conn->exec ($q); 
Download in other formats: Unified Diff Zip Archive