2014-05-20 Vanessa Gil <vanessa.gil@artica.es>

* godmode/agentes/configurar_agente.php: Change double
	quotes by single in 'WMI query'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2014-05-20 07:20:32 +00:00
parent 22513c2aff
commit f29568e31f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-05-20 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/configurar_agente.php: Change double
quotes by single in 'WMI query'.
2014-05-19 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/planned_downtime.editor.php: Fixed

View File

@ -876,6 +876,8 @@ if ($update_module || $create_module) {
$snmp_community = (string) get_parameter ('snmp_community');
$snmp_oid = (string) get_parameter ('snmp_oid');
//Change double quotes by single
$snmp_oid = preg_replace('/&quot;/', '&#039;', $snmp_oid);
if (empty ($snmp_oid)) {
/* The user did not set any OID manually but did a SNMP walk */