Skip to content

Commit

Permalink
Fixing warning in ConnectionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 19, 2010
1 parent 5e1b499 commit 633f1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/ConnectionManager.php
Expand Up @@ -180,7 +180,7 @@ public static function loadDataSource($connName) {

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;
Expand Down

0 comments on commit 633f1dc

Please sign in to comment.