Correction from dans la requete sql en lieu et place de columns
This commit is contained in:
parent
0d7257d63d
commit
01b0543a8f
@ -33,7 +33,7 @@ class IndexController extends Zend_Controller_Action
|
||||
$db = Zend_Registry::get('db');
|
||||
$criteresM = new Application_Model_Criteres();
|
||||
$sql = $criteresM->select()
|
||||
->columns($criteresM, array('criteres'))
|
||||
->from($criteresM, array('criteres'))
|
||||
->where('login = ?', $user->username)
|
||||
->where('id = ?', $id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user