Ignore:
Timestamp:
03/06/12 14:28:15 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Correcao de bugs e melhorias no modulo expressoCalendar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/services/PostgreSQL.php

    r5637 r5641  
    1919 
    2020   public function read ( $uri, $justthese = false , $criteria = false){ 
    21        
     21    
    2222      $map =  Config::get($uri['concept'], 'PostgreSQL.mapping');    
    2323      $justthese = self::parseJustthese($justthese, $map); 
    24       $criteria = ($criteria !== false) ? $this->parseCriteria ( $criteria , $map , ' WHERE id = \''.addslashes( $uri['id'] ).'\'') : ''; 
    25        
     24      $criteria = ($criteria !== false) ? $this->parseCriteria ( $criteria , $map , ' WHERE id = \''.addslashes( $uri['id'] ).'\'') : ' WHERE id = \''.addslashes( $uri['id'] ).'\''; 
     25    
    2626      return $this->execResultSql( 'SELECT '.$justthese['select'].' FROM '. (Config::get($uri['concept'],'PostgreSQL.concept')) .$criteria , true ); 
    2727    } 
Note: See TracChangeset for help on using the changeset viewer.