This commit is contained in:
Regis Houssin
2006-06-01 16:20:35 +00:00
parent 677ef5c6e6
commit 8fd202371d

View File

@@ -918,7 +918,8 @@ class Commande
* Propale associ<63>e
*/
$sql = 'SELECT cp.fk_propale';
$sql .= ' FROM '.MAIN_DB_PREFIX.'co_pr WHERE fk_commande = '.$this->id;
$sql .= ' FROM '.MAIN_DB_PREFIX.'co_pr as cp';
$sql .= ' WHERE cp.fk_commande = '.$this->id;
if ($this->db->query($sql) )
{
if ($this->db->num_rows())