diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a74bc41f65..eeea6da59d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2014-03-03 Miguel de Dios + + * include/functions_api.php: fixed the call get + 2014-02-25 Sergio Martin * include/javascript/pandora_events.js diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 5aff336f56..48e8618f7c 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -6096,7 +6096,7 @@ function api_get_total_modules($id_group, $trash1, $trash2, $returnType) { $sql = "SELECT COUNT(*) FROM tagente_modulo - WHERE id_module_group=$id_group"; + WHERE id_module_group=$id_group AND delete_pending = 0"; $total = db_get_value_sql($sql);