mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Base model class no longer changes an already defined schemaName value
This commit is contained in:
parent
997154565f
commit
d526fdadc1
1 changed files with 1 additions and 1 deletions
|
@ -3485,7 +3485,7 @@ class Model extends Object implements CakeEventListener {
|
|||
$this->tablePrefix = $db->config['prefix'];
|
||||
}
|
||||
|
||||
$this->schemaName = $db->getSchemaName();
|
||||
$this->schemaName = (empty($this->schemaName) ? $db->getSchemaName() : $this->schemaName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue