2
0
forked from Wavyzz/dolibarr

syntax error

bad syntax when add an url in dol_print_graph()
This commit is contained in:
dolibarr95
2017-11-15 11:11:45 +01:00
committed by GitHub
parent f37320590d
commit c6c1552c01

View File

@@ -2556,7 +2556,7 @@ function dol_print_graph($htmlid,$width,$height,$data,$showlegend=0,$type='pie',
var number=series.data[0][1];
return \'';
print '<div style="font-size:8pt;text-align:center;padding:2px;color:black;">';
if ($url) print '<a style="color: #FFFFFF;" border="0" href="'.$url.'=">';
if ($url) print '<a style="color: #FFFFFF;" border="0" href="'.$url.'">';
print '\'+'.($showlegend?'number':'label+\' \'+number');
if (! empty($showpercent)) print '+\'<br/>\'+percent+\'%\'';
print '+\'';