Skip to content

Commit

Permalink
Set AllowDynamicProperties attribute on ADOFetchObj class
Browse files Browse the repository at this point in the history
Avoid deprecation warning on PHP 8.2.

Fixes #975, as temporary workaround for #982

Signed-off-by: Damien Regad <dregad@mantisbt.org>
  • Loading branch information
hschletz authored and dregad committed Jun 11, 2023
1 parent 348d263 commit 1fbd7f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adodb.inc.php
Expand Up @@ -3756,6 +3756,7 @@ protected function getChangedErrorMsg($old = null) {
/**
* Internal placeholder for record objects. Used by ADORecordSet->FetchObj().
*/
#[\AllowDynamicProperties]
class ADOFetchObj {
};

Expand Down

0 comments on commit 1fbd7f1

Please sign in to comment.