From 4cb272f9346ace805f59db38e72c3f64e65e61ed Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 29 Oct 2012 12:18:31 +0000 Subject: [PATCH] 2012-10-29 Miguel de Dios * extensions/update_manager.php: silenced the notice PHP message when it has connection to internet. Fixes: #3560632 MERGED FROM THE BRANCH PANDORA_4 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 9 +++++++++ pandora_console/extensions/update_manager.php | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index b07428e538..f6c93b46f8 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2012-10-29 Miguel de Dios + + * extensions/update_manager.php: silenced the notice PHP message + when it has connection to internet. + + Fixes: #3560632 + + MERGED FROM THE BRANCH PANDORA_4 + 2012-10-29 Ramon Novoa * include/functions_graph.php: Fixed a path. diff --git a/pandora_console/extensions/update_manager.php b/pandora_console/extensions/update_manager.php index a60b18b747..00876b0948 100644 --- a/pandora_console/extensions/update_manager.php +++ b/pandora_console/extensions/update_manager.php @@ -38,7 +38,7 @@ if (is_ajax ()) { return; } - + if ($get_license_info) { enterprise_include_once('include/functions_license.php'); @@ -190,7 +190,7 @@ function pandora_update_manager_login () { $user_key = get_user_key ($settings); - $package = um_client_check_latest_update ($settings, $user_key); + $package = @um_client_check_latest_update ($settings, $user_key); if (is_object ($package)) { if ($package->id != 'ERROR_NON_NUMERIC_FOUND') {