mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing warning in ConnectionManager
This commit is contained in:
parent
5e1b49918b
commit
633f1dc1e5
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class ConnectionManager {
|
|||
|
||||
App::uses($conn['classname'], $plugin . 'Model/Datasource' . $package);
|
||||
if (!class_exists($conn['classname'])) {
|
||||
trigger_error(__('ConnectionManager::loadDataSource - Unable to import DataSource class %s', $class), E_USER_ERROR);
|
||||
trigger_error(__('ConnectionManager::loadDataSource - Unable to import DataSource class %s', $conn['classname']), E_USER_ERROR);
|
||||
return null;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue