Changeset 2485


Ignore:
Timestamp:
Nov 12, 2011, 1:56:07 PM (9 years ago)
Author:
roux
Message:

à n'appliquer que pour els commissions

File:
1 edited

Legend:

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

    r2480 r2485  
    5151    $this->forward404Unless($this->section);
    5252    $this->seances = $this->section->getSeances();
    53     if (count($this->seances) == 1)
     53    if (count($this->seances) == 1 && $this->seances[0]->type === "commission")
    5454      $this->redirect('@interventions_seance?seance='.$this->seances[0]->id.'#table_'.$this->section->id);
    5555
Note: See TracChangeset for help on using the changeset viewer.