Added enconding to POST variables
This commit is contained in:
parent
2a17065065
commit
3d0b71d953
|
@ -109,6 +109,6 @@ if (empty($data)) {
|
|||
}
|
||||
|
||||
echo '{
|
||||
"label": "'.$graph_title.'",
|
||||
"data": [["'.time().'", '.$data.']]
|
||||
"label": "'.htmlspecialchars($graph_title, ENT_QUOTES).'",
|
||||
"data": [["'.time().'", '.htmlspecialchars($data, ENT_QUOTES).']]
|
||||
}';
|
||||
|
|
Loading…
Reference in New Issue