2011-10-10 Sergio Martin <sergio.martin@artica.es>
* extensions/snmp_explorer.php: Updated missed fix in snmp explorer to create the modules correctly git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
660b30b5dc
commit
f64dfa86fb
|
@ -1,3 +1,8 @@
|
|||
2011-10-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* extensions/snmp_explorer.php: Updated missed fix in snmp explorer
|
||||
to create the modules correctly
|
||||
|
||||
2011-10-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/users/configure_user.php: Deleted old fix of juanma to
|
||||
|
|
|
@ -91,8 +91,10 @@ function snmp_explorer() {
|
|||
}
|
||||
|
||||
if($create_modules) {
|
||||
$interfaces = json_decode(html_entity_decode(get_parameter_post("snmp_json")), true);
|
||||
if(is_null($interfaces)) {
|
||||
$id_snmp_serialize = get_parameter_post('id_snmp_serialize');
|
||||
$interfaces = unserialize_in_temp($id_snmp_serialize);
|
||||
|
||||
if(!$interfaces) {
|
||||
$interfaces = array();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue