From c8806ef1dcff2592be3a86300ebd474569adb3a5 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Tue, 9 Jun 2015 18:52:11 +0200 Subject: [PATCH] Fixes to improve the oracle compatibility --- pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php b/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php index ab2b529634..164ea25e27 100644 --- a/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php +++ b/pandora_console/godmode/agentes/agent_wizard.snmp_explorer.php @@ -48,7 +48,7 @@ $snmpwalk = (int) get_parameter("snmpwalk", 0); $create_modules = (int) get_parameter("create_modules", 0); // Get the plugin -$plugin = db_get_row_sql('SELECT * FROM tplugin WHERE execute LIKE "%/snmp_remote.pl"'); +$plugin = db_get_row_sql("SELECT * FROM tplugin WHERE execute LIKE '%/snmp_remote.pl'"); if (empty($plugin)) { ui_print_info_message(array('message' => __('The SNMP remote plugin doesnt seem to be installed') . '. ' . __('It is necessary to use some features') . '.

' . __('Please, install the SNMP remote plugin (The name of the plugin must be snmp_remote.pl)'), 'no_close' => true));