Correction typo

This commit is contained in:
Michael RICOIS 2016-10-28 14:46:52 +02:00
parent b8bee93904
commit 195bd06153
2 changed files with 2 additions and 2 deletions

View File

@ -2871,7 +2871,7 @@ class Metier_Insee_MInsee extends Metier_Insee_Table
AND dateSuppr=0 AND (Assoc_Objet != '' OR Assoc_NObjet != '')
ORDER BY Date_Parution DESC LIMIT 0,1");
if ($stmt->rowCount() > 0) {
$annCap = $stmt->fetch(\PDO::FETCH_OBJ);
$annCap = $stmt->fetch(\PDO::FETCH_ASSOC);
$tabRet['Activite'] = trim($annCap['Assoc_NObjet']);
if (trim($tabRet['AutreId']) == '') {
$tabRet['AutreId'] = trim($annCap['Waldec']);

View File

@ -103,7 +103,7 @@ class Metier_Rnvp_Adresse
try {
$qb = $this->conn->createQueryBuilder();
$qb->select($this->columns)
->from('villes.rnvp_sources')
->from('villes.rnvpSources')
->where('source = :source')->setParameter('source', $this->source)
->andWhere('source_id = :sourceId')->setParameter('sourceId', $this->sourceId);
$stmt = $qb->execute();