summaryrefslogtreecommitdiff
path: root/net/phpldapadmin/files/patch-lib_ds__ldap.php
blob: 41dfc700729a3614d74ee5f5af7d04de0b76e9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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;
 			}