From e84b522dff099ae2d59f1b1f79e1709beb57a137 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Mon, 26 Feb 2024 14:42:42 +0100 Subject: [PATCH] fix api call --- pandora_console/include/functions_api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index b70827b856..37568798ed 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -13270,7 +13270,7 @@ function api_set_add_event_comment($id, $thrash2, $other, $thrash3) } else if ($other['type'] == 'array') { $comment = $other['data'][0]; - $node_int = 0; + $node_int = 0; if (is_metaconsole() === true) { if (isset($other['data'][1]) === true && empty($other['data'][1]) === false @@ -17807,7 +17807,7 @@ function api_token_check(string $token) * @return void */ function api_set_event_custom_id($id, $value, $other) -{ +{ // Get the event $event = events_get_event($id, false, is_metaconsole()); // If event not exists, end the execution.