mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Solved ajax sql injection
This commit is contained in:
parent
21b3a5ad2a
commit
1258a1a635
@ -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