diff options
| author | Damien Regad <dregad@mantisbt.org> | 2023-03-12 17:15:20 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2023-03-12 17:15:20 +0100 |
| commit | b7a3937ba742eccef0ca837be367d78a6d210366 (patch) | |
| tree | 0ca41f97ed279984d67fef714329604187f9dda3 /adodb.inc.php | |
| parent | 4d86b6a790b2934d33aa743ab1eaea9f65d59dfa (diff) | |
| download | adodb-b7a3937ba742eccef0ca837be367d78a6d210366.tar.gz adodb-b7a3937ba742eccef0ca837be367d78a6d210366.tar.bz2 adodb-b7a3937ba742eccef0ca837be367d78a6d210366.zip | |
Define ADORecordSet::$tableName
Fixes PHP 8.2 Deprecated warning: Creation of dynamic property.
Fixes #909
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Diffstat (limited to 'adodb.inc.php')
| -rw-r--r-- | adodb.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/adodb.inc.php b/adodb.inc.php index de5a6291..1d09a2e9 100644 --- a/adodb.inc.php +++ b/adodb.inc.php @@ -3886,6 +3886,12 @@ class ADORecordSet implements IteratorAggregate { * public variables */ var $dataProvider = "native"; + + /** + * @var string Table name (used in _adodb_getupdatesql() and _adodb_getinsertsql())- + */ + public $tableName = ''; + /** @var bool|array */ var $fields = false; /// holds the current row data var $blobSize = 100; /// any varchar/char field this size or greater is treated as a blob |
