Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ldapAliasSync.php #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Update ldapAliasSync.php #1

wants to merge 3 commits into from

Conversation

Phhere
Copy link

@Phhere Phhere commented Apr 18, 2024

Fix php warnings because of unset keys

[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "ignore_domains" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 701
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "non_domain_attr" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 704
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_org" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 712
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_reply" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 717
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_bcc" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 722
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_sig" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 727
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined variable $LDAP_DEREF_NEVER in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 736
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "log_level" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 795

Also fixes undefined var errors for LDAP_DEREF - constants

Fix php warnings because of unset keys

```
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "ignore_domains" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 701
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "non_domain_attr" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 704
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_org" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 712
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_reply" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 717
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_bcc" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 722
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "attr_sig" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 727
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined variable $LDAP_DEREF_NEVER in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 736
[17-Apr-2024 16:36:27 Europe/Berlin] PHP Warning:  Undefined array key "log_level" in /usr/share/roundcube/plugins/ldapAliasSync/ldapAliasSync.php on line 795
```
fix additional errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant