Skip to content
Snippets Groups Projects
Commit c1d7f5a7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #4633

parent 7def330f
No related branches found
No related tags found
No related merge requests found
......@@ -193,6 +193,8 @@ if (! empty($id) || ! empty($ref) || GETPOST('id') == 'all')
//print '<table width="100%">';
// Generation des graphs
if ($object->id > 0) // We are on statistics for a dedicated product
{
$dir = (! empty($conf->product->multidir_temp[$object->entity])?$conf->product->multidir_temp[$object->entity]:$conf->service->multidir_temp[$object->entity]);
if (! file_exists($dir.'/'.$object->id))
{
......@@ -202,6 +204,7 @@ if (! empty($id) || ! empty($ref) || GETPOST('id') == 'all')
$error++;
}
}
}
$graphfiles=array(
'propal' =>array('modulepart'=>'productstats_proposals',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment