2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Regis Houssin
2006-06-01 16:19:23 +00:00
parent bdd6bcc1af
commit 677ef5c6e6

View File

@@ -918,7 +918,7 @@ 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 WHERE fk_commande = '.$this->id;
if ($this->db->query($sql) )
{
if ($this->db->num_rows())