Correction adapter bdd

This commit is contained in:
Michael RICOIS 2012-01-27 16:38:25 +00:00
parent 8506f8099a
commit 6ae974d5ac

View File

@ -227,7 +227,7 @@ $tabDico = array(
//Définition bdd
$dbConfig = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'databases');
$db = Zend_Db::factory($dbConfig);
$db = Zend_Db::factory($dbConfig->db);
$commandesM = new Application_Model_Commandes($db);
$commande = $commandesM->find(intval($opts->id));