Changeset 1534


Ignore:
Timestamp:
Oct 2, 2010, 9:43:41 PM (10 years ago)
Author:
roux
Message:

correction pager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/parlementaire/templates/listOrganismeSuccess.php

    r1533 r1534  
    11<?php use_helper('Text') ?>
    22<h1><?php echo $orga->getNom(); $sf_response->setTitle($orga->getNom()); ?></h1>
    3 <?php $nrap = $pagerRapports->getNbResults();
    4 $nse = $pagerSeances->getNbResults();
     3<?php if (isset($pagerRapports)) $nrap = $pagerRapports->getNbResults();
     4else $nrap = 0;
     5if (isset($pagerSeances)) $nse = $pagerSeances->getNbResults();
     6else $nse = 0;
    57if ($page === "home") {
    68  include_component('article', 'show', array('categorie'=>'Organisme', 'object_id'=>$orga->id));
Note: See TracChangeset for help on using the changeset viewer.