Merge pull request #19833 from liviuconcioiu/19827

Fix #19827 - Fix setMimeMap being executed for each row
This commit is contained in:
Liviu-Mihail Concioiu 2025-09-08 18:26:08 +02:00 committed by GitHub
parent 89e618401a
commit 2ff36d97dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,9 +153,9 @@ class Results
* transformation_options?: string,
* input_transformation?: string,
* input_transformation_options?: string
* }>
* }>|null
*/
private array $mediaTypeMap = [];
private array|null $mediaTypeMap = null;
/**
* where clauses for each row, each table in the row
@ -1868,7 +1868,7 @@ class Results
}
// 2. Displays the rows' values
if ($this->mediaTypeMap === []) {
if ($this->mediaTypeMap === null) {
$this->setMimeMap();
}