FIX Avoid error if no data

This commit is contained in:
Laurent Destailleur 2016-10-21 18:45:44 +02:00
parent 50a5fe6fd9
commit 3219c07adc

View File

@ -107,6 +107,8 @@ else
{
dol_print_error($db);
}
if (empty($min)) $min = dol_now - 3600 * 24;
$log="graph.php: min=".$min." max=".$max;
dol_syslog($log);