mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-15 05:59:50 +00:00
Added the table name to the cacheKey used by DboSource::fields. #3394
This commit is contained in:
parent
0d29861423
commit
8ef3034482
1 changed files with 2 additions and 1 deletions
|
@ -2282,7 +2282,8 @@ class DboSource extends DataSource {
|
|||
$virtualFields,
|
||||
$fields,
|
||||
$quote,
|
||||
ConnectionManager::getSourceName($this)
|
||||
ConnectionManager::getSourceName($this),
|
||||
$model->table
|
||||
);
|
||||
$cacheKey = md5(serialize($cacheKey));
|
||||
if ($return = $this->cacheMethod(__FUNCTION__, $cacheKey)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue