Fix: Graph report rubbish information. Better to have them as option.
This commit is contained in:
parent
4f08408065
commit
92cdef71e8
@ -167,7 +167,7 @@ print $total;
|
||||
print '</td></tr>';
|
||||
print '</table>';
|
||||
|
||||
if (! empty($conf->categorie->enabled))
|
||||
if (! empty($conf->categorie->enabled) && ! empty($conf->global->CATEGORY_GRAPHSTATS_ON_PRODUCTS))
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
||||
print '<br>';
|
||||
|
||||
@ -159,7 +159,7 @@ print $total;
|
||||
print '</td></tr>';
|
||||
print '</table>';
|
||||
|
||||
if (! empty($conf->categorie->enabled))
|
||||
if (! empty($conf->categorie->enabled) && ! empty($conf->global->CATEGORY_GRAPHSTATS_ON_THIRDPARTIES))
|
||||
{
|
||||
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
|
||||
$elementtype = 'societe';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user