From 5335b69b61a6b6880a7097b81f1642e075a33914 Mon Sep 17 00:00:00 2001 From: vgilc Date: Wed, 7 Mar 2018 16:50:12 +0100 Subject: [PATCH] Merge branch '1776-3833-no-aparecen-eventos-en-la-aplicacion-de-android-v6' into 'pandora_6.0' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolve "[ #3833] No aparecen Eventos en la aplicación de android v6" See merge request artica/pandorafms!1352 (cherry picked from commit 6b7a22e47cf3a432029342e09bce4c3b87c1f6fd) c7e7ea1e Removed unwanted output from the api.php responses --- pandora_console/include/api.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/include/api.php b/pandora_console/include/api.php index 375bd072dd..e79e05bbb7 100644 --- a/pandora_console/include/api.php +++ b/pandora_console/include/api.php @@ -51,6 +51,9 @@ $correctLogin = false; $user_in_db = null; $no_login_msg = ""; +// Clean unwanted output +ob_clean(); + // Special call without checks to retrieve version and build of the Pandora FMS // This info is avalable from the web console without login // Don't change the format, it is parsed by applications