diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 97f7fb567..d4c1f9802 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -902,7 +902,7 @@ class DboSource extends DataSource { if (PHP_SAPI !== 'cli') { $controller = null; $View = new View($controller, false); - $View->set('logs', array($this->configKeyName => $log)); + $View->set('sqlLogs', array($this->configKeyName => $log)); echo $View->element('sql_dump', array('_forced_from_dbo_' => true)); } else { foreach ($log['log'] as $k => $i) {