Skip to content

Commit

Permalink
Merge pull request #7818 from dolibarr95/patch-29
Browse files Browse the repository at this point in the history
Fix : syntax error in dol_print_graph()
  • Loading branch information
eldy committed Nov 17, 2017
2 parents 7946f4a + c6c1552 commit 68f477e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/functions.lib.php
Expand Up @@ -2557,7 +2557,7 @@ function plotWithOptions() {
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 '+\'';
Expand Down

0 comments on commit 68f477e

Please sign in to comment.