mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Fix sql error on reporting builder
This commit is contained in:
parent
072f05b9a5
commit
ccfb85df12
@ -2338,7 +2338,7 @@ if (is_metaconsole() === true) {
|
|||||||
if ($idAgent) {
|
if ($idAgent) {
|
||||||
$sql = 'SELECT id_agente_modulo, nombre
|
$sql = 'SELECT id_agente_modulo, nombre
|
||||||
FROM tagente_modulo
|
FROM tagente_modulo
|
||||||
WHERE id_agente = '.$idAgent.' AND delete_pending = 0';
|
WHERE id_agente = "'.$idAgent["id_agent"].'" AND delete_pending = 0';
|
||||||
|
|
||||||
if ($meta) {
|
if ($meta) {
|
||||||
$connection = metaconsole_get_connection($server_name);
|
$connection = metaconsole_get_connection($server_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user