summaryrefslogtreecommitdiff
path: root/net/phpldapadmin/files/patch-lib_Tree.php
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2022-12-14 16:57:23 +0100
committerRonald Klop <ronald@FreeBSD.org>2022-12-16 17:30:43 +0100
commit5765ec9382b822381ab6de329704b94ba31f85fb (patch)
tree616ef3b68ba286df6372511bd5555cd8400039c0 /net/phpldapadmin/files/patch-lib_Tree.php
parentsysutils/k9s: Update to 0.26.7 (diff)
net/phpldapadmin: update to 1.2.6.4
This includes all the fixes for php81+. Changes: https://github.com/leenooks/phpLDAPadmin/compare/1.2.6.3...1.2.6.4 PR: 268349 Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D37700
Diffstat (limited to 'net/phpldapadmin/files/patch-lib_Tree.php')
-rw-r--r--net/phpldapadmin/files/patch-lib_Tree.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/net/phpldapadmin/files/patch-lib_Tree.php b/net/phpldapadmin/files/patch-lib_Tree.php
deleted file mode 100644
index 59e1ecbdcc1e..000000000000
--- a/net/phpldapadmin/files/patch-lib_Tree.php
+++ /dev/null
@@ -1,29 +0,0 @@
---- lib/Tree.php.orig 2021-12-12 02:35:51 UTC
-+++ lib/Tree.php
-@@ -68,7 +68,7 @@ abstract class Tree {
- }
- }
-
-- set_cached_item($server_id,'tree','null',$tree);
-+ set_cached_item($server_id,$tree,'tree','null');
- }
-
- return $tree;
-@@ -132,7 +132,7 @@ abstract class Tree {
- if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
- debug_log('Entered (%%)',33,0,__FILE__,__LINE__,__METHOD__,$fargs);
-
-- $index = strtolower(implode(',',pla_explode_dn($dn)));
-+ $index = strtolower((string) implode(',',pla_explode_dn($dn)));
-
- if (DEBUG_ENABLED)
- debug_log('Result (%s)',1,0,__FILE__,__LINE__,__METHOD__,$index);
-@@ -185,7 +185,7 @@ abstract class Tree {
- $tree_factory = new TreeItem($server->getIndex(),$dn);
- $tree_factory->setObjectClasses($server->getDNAttrValue($dn,'objectClass'));
-
-- if ((($isleaf = $server->getDNAttrValue($dn,'hassubordinates')) && ! strcasecmp($isleaf[0],'false')))
-+ if ((($isleaf = $server->getDNAttrValue($dn,'hassubordinates')) && ! strcasecmp((string) $isleaf[0],'false')))
- $tree_factory->setLeaf();
-
- $this->entries[$dnlower] = $tree_factory;