Skip to content
Snippets Groups Projects
Commit 09c02352 authored by alvaro's avatar alvaro
Browse files

Unnecessary escaping in piechart

parent 65353b74
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Haanga_Extension_Filter_GoogleVizPieChart{
$name = $v['name'];
$val = $v['value'];
$value = ($j==0)?"'".str_replace("'", "\'",$k->$name->$val)."'":$k->$name->$val;
$data .=" data.setCell($i, $j, ".str_replace("'", "\'",$value).");\n";
$data .=" data.setCell($i, $j, ".$value.");\n";
$j++;
}
$i++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment