Merge pull request #7689 from Elimig/patch-2

FIX project pie chart status selection
This commit is contained in:
Laurent Destailleur 2017-10-24 12:42:32 +02:00 committed by GitHub
commit 8e17bfa4cb

View File

@ -94,6 +94,7 @@ else
$listofoppstatus=array(); $listofopplabel=array(); $listofoppcode=array();
$sql = "SELECT cls.rowid, cls.code, cls.percent, cls.label";
$sql.= " FROM ".MAIN_DB_PREFIX."c_lead_status as cls";
$sql.= " WHERE active=1";
$resql = $db->query($sql);
if ( $resql )
{