Skip to content

Commit

Permalink
Fix so LDAP VLV option is disabled by default as documented (#8833)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jan 29, 2023
1 parent 6c0b085 commit 4e7efcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Fix bug where .wav instead of .mp3 file was used for the new mail notification in Firefox (#8895)
- Fix PHP8 warning (#8891)
- Fix support for Windows-31J charset (#8869)
- Fix so LDAP VLV option is disabled by default as documented (#8833)

## Release 1.6.1

Expand Down
5 changes: 5 additions & 0 deletions program/lib/Roundcube/rcube_ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ function __construct($p, $debug = false, $mail_domain = null)

$fetch_attributes = ['objectClass'];

// Disable VLV by default
if (!isset($this->prop['vlv'])) {
$this->prop['vlv'] = false;
}

// check if groups are configured
if (!empty($p['groups']) && is_array($p['groups'])) {
$this->groups = true;
Expand Down

0 comments on commit 4e7efcc

Please sign in to comment.