Skip to content
Snippets Groups Projects
Verified Commit e2f6137e authored by William Desportes's avatar William Desportes :sailboat:
Browse files

Fix PHP 8.4 error: Creation of dynamic property AttributeType

Closes:  #1100771
parent 7d3b87e9
No related branches found
No related tags found
No related merge requests found
phpldapadmin (1.2.6.7-3) UNRELEASED; urgency=medium
* Fix PHP 8.4 error: Creation of dynamic property AttributeType
(Closes: #1100771)
-- William Desportes <williamdes@wdes.fr> Mon, 24 Mar 2025 16:04:06 +0100
phpldapadmin (1.2.6.7-2) unstable; urgency=medium
* Add a patch for PHP 8.4 E_DEPRECATED
* Add a patch to stop using xml_set_object for PHP 8.4 (Closes: #1089729)
......
......@@ -13,6 +13,7 @@ Subject: Fix Creation of dynamic property
Origin: vendor
Forwarded: https://github.com/leenooks/phpLDAPadmin/pull/202
Bug-Debian: https://bugs.debian.org/1100771
---
lib/PLAAttribute.php | 1 +
lib/Query.php | 1 +
......@@ -20,7 +21,8 @@ Forwarded: https://github.com/leenooks/phpLDAPadmin/pull/202
lib/TemplateRender.php | 2 ++
lib/import_functions.php | 1 +
lib/page.php | 1 +
6 files changed, 7 insertions(+)
lib/schema_functions.php | 2 +-
7 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/PLAAttribute.php b/lib/PLAAttribute.php
index a2f0091..dfcc8e6 100644
......@@ -95,3 +97,16 @@ index 43efc2a..e8241a9 100644
class page {
# pre-HTML headers
protected $_pageheader;
diff --git a/lib/schema_functions.php b/lib/schema_functions.php
index 6218064..70c6e8b 100644
--- a/lib/schema_functions.php
+++ b/lib/schema_functions.php
@@ -24,7 +24,7 @@ abstract class SchemaItem {
# The description of this schema item.
protected $description = '';
# Boolean value indicating whether this objectClass is obsolete
- private $is_obsolete = false;
+ protected $is_obsolete = false;
public function setOID($oid) {
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment