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:
parent
22513c2aff
commit
f29568e31f
|
@ -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
|
||||
|
|
|
@ -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('/"/', ''', $snmp_oid);
|
||||
|
||||
if (empty ($snmp_oid)) {
|
||||
/* The user did not set any OID manually but did a SNMP walk */
|
||||
|
|
Loading…
Reference in New Issue