Private GIT

Skip to content
Snippets Groups Projects
Commit 707c8bcf authored by Gary Allan's avatar Gary Allan
Browse files

Bugfix: mastersubnet-dropdown.php

Ensure displayed folders are from the correct subnet section.
parent 8c754a16
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ $fields = array('id','masterSubnetId','isFolder','subnet','mask','description');
$strict_subnets = get_strict_subnets($Subnets, $sectionId, $cidr, $fields);
$folders = $Subnets->fetch_multiple_objects('subnets', 'isFolder', '1', 'id', true, false, $fields);
$folders = $Subnets->fetch_section_subnets($sectionId, 'isFolder', '1', $fields);
if (!is_array($folders)) $folders = array();
// Generate HTML <options> dropdown menu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment