From 7b862429af84ca413c1bb6a04dc4142050a57c69 Mon Sep 17 00:00:00 2001 From: Tatiana Llorente Date: Tue, 8 Oct 2019 15:28:35 +0200 Subject: [PATCH] Change defined metaconsole to is_metaconsole function in api - #4771 --- pandora_console/include/functions_events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index ccbe7f6dd2..640fcca65e 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -2137,7 +2137,7 @@ function events_create_event( } $table_events = 'tevento'; - if (defined('METACONSOLE')) { + if (is_metaconsole()) { $table_events = 'tmetaconsole_event'; $sql = sprintf(