mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Merge branch 'ent-6278-SQL-Injection-ajax-cg_items' into 'develop'
Solved ajax sql injection Closes pandora_enterprise#6278 See merge request artica/pandorafms!3465
This commit is contained in:
commit
bf1d3f4af3
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
$stacked = db_get_sql('select stacked from tgraph where id_graph = '.$_GET['data']);
|
$data = (int) get_parameter('data');
|
||||||
$num_items = db_get_sql('select count(*) from tgraph_source where id_graph = '.$_GET['data']);
|
$stacked = db_get_sql('select stacked from tgraph where id_graph = '.$data);
|
||||||
|
$num_items = db_get_sql('select count(*) from tgraph_source where id_graph = '.$data);
|
||||||
echo "$stacked,$num_items";
|
echo "$stacked,$num_items";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user