Changeset 3101


Ignore:
Timestamp:
Feb 24, 2013, 11:23:39 PM (7 years ago)
Author:
nosdeputes
Message:

fix number identiques

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/amendement/templates/showSuccess.php

    r3089 r3101  
    1313<div class="seance_amendements">
    1414  <h3><?php if ($seance) echo 'Discuté en '.link_to('séance le '.myTools::displayDate($seance['date']), '@interventions_seance?seance='.$seance['seance_id'].'#amend_'.$amendement->numero);
    15   $tot = count($identiques);
    16   if ($tot > 1) {
     15  $tot = count($identiques)-1;
     16  if ($tot > 0) {
    1717    $ident_titre = " <small>($tot amendement";
    18     if ($tot > 2)
     18    if ($tot > 1)
    1919      $ident_titre .= "s identiques : ";
    2020    else $ident_titre .= " identique : "; ?>
Note: See TracChangeset for help on using the changeset viewer.