Correction erreur "No table has been specified for the FROM clause"
This commit is contained in:
parent
5e0feca4aa
commit
2b41ec34da
@ -89,6 +89,7 @@ class GestionCommande
|
||||
{
|
||||
$commandeStatut = new Application_Model_CommandesStatut();
|
||||
$sql = $commandeStatut->select()
|
||||
->from('commandes_statut')
|
||||
->columns('id')
|
||||
->where('typeCommande = ?', $type)
|
||||
->order('ordre DESC')
|
||||
@ -117,6 +118,7 @@ class GestionCommande
|
||||
{
|
||||
$commandeStatut = new Application_Model_CommandesStatut();
|
||||
$sql = $commandeStatut->select()
|
||||
->from('commandes_statut')
|
||||
->columns('id')
|
||||
->where('typeCommande = ?', $type)
|
||||
->order('ordre DESC')
|
||||
|
Loading…
Reference in New Issue
Block a user