Navigation Menu

Skip to content

Commit

Permalink
fmDNS - #432 - Fixed ACL display and edit ability
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyXJ committed Mar 5, 2019
1 parent e676663 commit 98884b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/fm-modules/fmDNS/change.log
Expand Up @@ -12,6 +12,7 @@
* Server - [improvement] Updated default named.root file.
* Server - [improvement] Minor UI changes for more consistency.
* Client - [improvement] Added support for Scientific Linux. (Issue #431)
* Server - [bug] Fixed ACL display and ability to edit the entries. (Issue #432)

3.2.1 (2018-12-15)
==================
Expand Down
2 changes: 1 addition & 1 deletion server/fm-modules/fmDNS/classes/class_acls.php
Expand Up @@ -549,8 +549,8 @@ function getACLElements($acl_parent_id) {
basicGet('fm_' . $__FM_CONFIG['fmDNS']['prefix'] . 'acls', $acl_parent_id, 'acl_', 'acl_parent_id', 'ORDER BY acl_id');
if ($fmdb->num_rows) {
$count = $fmdb->num_rows;
$element_array = $fmdb->last_result;
for ($i=0; $i<$count; $i++) {
$element_array = $fmdb->last_result;
$element_id = $element_array[$i]->acl_id;
$return[$element_id]['element_addresses'] = $element_array[$i]->acl_addresses;

Expand Down

0 comments on commit 98884b5

Please sign in to comment.