Correction clé de config

This commit is contained in:
Michael RICOIS 2016-11-25 19:25:18 +01:00
parent b32e774795
commit a8687aac5e
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class EnvoiController extends Zend_Controller_Action
//Récupérer les clients
$c = Zend_Registry::get('config');
$sqlmetier = Zend_Db::factory($c->profil->db->jo);
$sqlmetier = Zend_Db::factory($c->profil->db->metier);
$sql = $sqlmetier->select()
->from('sdv1.clients', array('id', 'nom'))
->where("actif = 'Oui'");

View File

@ -41,7 +41,7 @@ class IndexController extends Zend_Controller_Action
//Récupérer les clients
$c = Zend_Registry::get('config');
$sqlmetier = Zend_Db::factory($c->profil->db->jo);
$sqlmetier = Zend_Db::factory($c->profil->db->metier);
$sql = $sqlmetier->select()
->from('sdv1.clients', array('id', 'nom'))
->where("actif = 'Oui'");