Changeset 2694


Ignore:
Timestamp:
May 13, 2012, 9:44:46 PM (8 years ago)
Author:
teymour
Message:

ptag n'est plus nécessaire

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/section/actions/actions.class.php

    r2688 r2694  
    105105    else
    106106      $this->qtag->where('false');
    107    
    108     $this->ptag = Doctrine_Query::create()
    109       ->from('Intervention i')
    110       ->where('i.parlementaire_id IS NOT NULL')
    111       ->andWhere('((i.fonction != ? AND i.fonction != ? ) OR i.fonction IS NULL)', array('président', 'présidente'))
    112       ;
     107
    113108    $this->interventions = array();
    114109    if (count($interventions)) {
    115       $this->ptag->whereIn('i.id', $interventions);
    116110      $this->interventions = $interventions;
    117     }else{
    118       $this->ptag->where('false');
    119111    }
    120112   
Note: See TracChangeset for help on using the changeset viewer.