From a271695ba8fdfba873c55eeb5e3252cd3589bc42 Mon Sep 17 00:00:00 2001
From: jsatoh <junichi@rworks.jp>
Date: Mon, 28 Jul 2014 00:49:39 +0000
Subject: [PATCH] 2014-07-28  Junichi Satoh  <junichi@rworks.jp>

	* operation/agentes/estado_agente.php: Fixed sql error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog                           | 4 ++++
 pandora_console/operation/agentes/estado_agente.php | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index cb1b044149..2d0ebe7af8 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,7 @@
+2014-07-28  Junichi Satoh  <junichi@rworks.jp>
+
+	* operation/agentes/estado_agente.php: Fixed sql error.
+
 2014-07-24  Miguel de Dios <miguel.dedios@artica.es>
 	
 	* operation/snmpconsole/snmp_view.php,
diff --git a/pandora_console/operation/agentes/estado_agente.php b/pandora_console/operation/agentes/estado_agente.php
index 9047c87d4b..8e117c7b6f 100644
--- a/pandora_console/operation/agentes/estado_agente.php
+++ b/pandora_console/operation/agentes/estado_agente.php
@@ -227,7 +227,7 @@ $order = null;
 $order_collation = "";
 switch ($config["dbtype"]) {
 	case "mysql":
-		$order_collation = "COLLATE utf8_general_ci";
+		$order_collation = " COLLATE utf8_general_ci";
 		break;
 	case "postgresql":
 	case "oracle":