mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
bugfix
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user