Changeset 2717


Ignore:
Timestamp:
May 14, 2012, 11:36:38 PM (8 years ago)
Author:
goya
Message:

oups manquait des semaines

File:
1 edited

Legend:

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

    r2714 r2717  
    134134          $this->data['n_questions'][$i] = 0;
    135135      }
    136    
    137136  }
    138137
     
    176175          $n_vacances[$n] = 20;
    177176          $sem++;
    178           if ($sem == 53) { $annee++ ; $sem = 1; }
     177          if ($sem == 53) { $annee++ ; $sem = 0; }
    179178          $n++;
    180179        }
    181180        while ($n <= $n_weeks && ($annee < $mandat_an1 || ($annee == $mandat_an1 && $sem < $mandat_sem1))) {
    182181          $sem++;
    183           if ($sem == 53) { $annee++ ; $sem = 1; }
     182          if ($sem == 53) { $annee++ ; $sem = 0; }
    184183          $n++;
    185184        }
Note: See TracChangeset for help on using the changeset viewer.