Fixed an error related with the id retrieving

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-19 14:56:42 +01:00
parent 6074001552
commit b99cef8c1a

View File

@ -32,7 +32,7 @@ if (is_ajax ()) {
if ($getChildren) {
$type = get_parameter('type', 'group');
$filter = get_parameter('filter', array('searchAgent' => '', 'statusAgent' => AGENT_STATUS_ALL));
$id = (int)get_parameter('id', 0);
$id = get_parameter('id', 0);
$childrenMethod = get_parameter('childrenMethod', 'on_demand');
$countModuleStatusMethod = get_parameter('countModuleStatusMethod', 'on_demand');
$countAgentStatusMethod = get_parameter('countAgentStatusMethod', 'live');