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:
zarzuelo 2011-10-10 15:35:22 +00:00
parent 660b30b5dc
commit f64dfa86fb
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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();
}