From 62375eb291626d83ea3a54edeb9494dfa6ff972f Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Wed, 20 Jul 2011 10:45:15 +0000 Subject: [PATCH] 2011-07-20 Sergio Martin * include/functions.php: Fixed enterprise_not_hook constant fail and log notice. Now the home page bar graphs are showed without data. Bug: 3371403 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/include/functions.php | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 051821d3da..19b38f2098 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2011-07-20 Sergio Martin + + * include/functions.php: Fixed enterprise_not_hook constant + fail and log notice. Now the home page bar graphs are showed + without data. Bug: 3371403 + 2011-07-20 Miguel de Dios *images/minimenu_open_arrow.png, images/minimenu_close_arrow.png: added diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index ded5ff986c..5e3eb952a6 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -18,6 +18,9 @@ * @subpackage Generic_Functions */ +/* Enterprise hook constant */ +define ('ENTERPRISE_NOT_HOOK', -1); + /** * Include the html and ui functions. */ @@ -25,8 +28,6 @@ require_once ('functions_html.php'); require_once ('functions_ui.php'); require_once('functions_io.php'); -define ('ENTERPRISE_NOT_HOOK', -1); - /* Events state constants */ define ('EVENT_NEW', 0); define ('EVENT_VALIDATE', 1);