From cef7d8c2ed156534459df254a210cda166b44413 Mon Sep 17 00:00:00 2001 From: Meirza Date: Thu, 28 Sep 2023 10:15:48 +0700 Subject: [PATCH] MDL-79511 lib: Allow dynamic properties for ADOFieldObject class --- lib/adodb/adodb.inc.php | 1 + lib/adodb/readme_moodle.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/adodb/adodb.inc.php b/lib/adodb/adodb.inc.php index 3225b9749ad..e0c8643b5d7 100644 --- a/lib/adodb/adodb.inc.php +++ b/lib/adodb/adodb.inc.php @@ -3744,6 +3744,7 @@ http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_1 /** * Internal placeholder for record objects. Used by ADORecordSet->FetchObj(). */ + #[AllowDynamicProperties] class ADOFetchObj { }; diff --git a/lib/adodb/readme_moodle.txt b/lib/adodb/readme_moodle.txt index b0323c5fcdc..701281fc851 100644 --- a/lib/adodb/readme_moodle.txt +++ b/lib/adodb/readme_moodle.txt @@ -35,4 +35,5 @@ Notes: 4. https://github.com/ADOdb/ADOdb/commit/5766f6b17aac1da80302840416e24ac9a341742c 5. https://github.com/ADOdb/ADOdb/commit/f52cf8a68cb6e0b702c8e7a6a8fa5da3e59ad13a 6. https://github.com/ADOdb/ADOdb/commit/f7b91c2a45e2c89868894f73a65a096fbc4c1a0f - Some of the commits added properties and removed some codes to avoid adding new properties. \ No newline at end of file + Some of the commits added properties and removed some codes to avoid adding new properties. + * 2023-09-28 Added #[AllowDynamicProperties] above the ADOFetchObj class.