From f2d4cb7bacc8551b216a1caeb9dce874689f1744 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Tue, 11 Jun 2013 11:32:57 -0400
Subject: [PATCH] - Fixed FS#2931 - Show update state probleme with APT locales.

---
 server/mods-available/monitor_core_module.inc.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server/mods-available/monitor_core_module.inc.php b/server/mods-available/monitor_core_module.inc.php
index 63a813c..917e089 100644
--- a/server/mods-available/monitor_core_module.inc.php
+++ b/server/mods-available/monitor_core_module.inc.php
@@ -419,7 +419,8 @@
 		$res = $this->_tools->monitorSystemUpdate();
 		
 		//* Ensure that output is encoded so that it does not break the serialize
-		$res['data']['output'] = htmlentities($res['data']['output']);
+		//$res['data']['output'] = htmlentities($res['data']['output']);
+		$res['data']['output'] = htmlentities($res['data']['output'],ENT_QUOTES,'UTF-8');
 
 		/*
 		 * Insert the data into the database

--
Gitblit v1.9.1