From 255dcdb94ece8f37df700b8a144bcd4ff1194815 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 20 Oct 2011 07:47:29 -0400
Subject: [PATCH] Fixed: FS#1777 - AWStats: In months with two digits (10, 11, 12) order is broken => 1,10,11,12,2,3...9

---
 server/lib/classes/monitor_tools.inc.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php
index 6a4804c..26768c3 100644
--- a/server/lib/classes/monitor_tools.inc.php
+++ b/server/lib/classes/monitor_tools.inc.php
@@ -887,6 +887,9 @@
 			$state = 'no_state';
 			$data['output'] = '';
 		}
+		
+		//* Encode data
+		$data['output'] = htmlentities($data['output']);
 
 		/*
 		 * Return the Result

--
Gitblit v1.9.1