mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
phpldapadmin needs some more patches to work correctly (without error/warning messages in webserver logs). PR: 274970
11 lines
298 B
PHP
11 lines
298 B
PHP
--- lib/ds_ldap.php.orig 2023-04-01 13:46:16 UTC
|
|
+++ lib/ds_ldap.php
|
|
@@ -991,7 +991,7 @@ class ldap extends DS {
|
|
$return = $dn;
|
|
|
|
foreach ($this->getBaseDN() as $base) {
|
|
- if (preg_match("/${base}$/i",$dn)) {
|
|
+ if (preg_match("/{$base}$/i",$dn)) {
|
|
$return = $base;
|
|
break;
|
|
}
|