Ignore:
Timestamp:
Sep 26, 2010, 6:56:57 PM (11 years ago)
Author:
teymour
Message:

Ajout des titres pour les alertes + qq correction

File:
1 edited

Legend:

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

    r1436 r1437  
    3131    $citoyen = doctrine::getTable('Citoyen')->find($citoyen_id);
    3232    $this->forward404Unless($citoyen);
    33     $sql = doctrine::getTable('Alerte')->createQuery('a')->where('a.citoyen_id = ?', $citoyen_id);//->orWhere('a.email = ?', $citoyen->getEmail());
     33    $sql = doctrine::getTable('Alerte')->createQuery('a')->where('a.citoyen_id = ?', $citoyen_id)->orWhere('a.email = ?', $citoyen->getEmail());
    3434    $this->alertes = $sql->execute();
    3535  }
Note: See TracChangeset for help on using the changeset viewer.