Permalink
Browse files

adjust dbo source for sqlLogs variable

  • Loading branch information...
dereuromark committed May 6, 2013
1 parent 4c4fdc6 commit 8aa0f5a8e91a98113b48b944b42c6e26d7535744
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/DboSource.php
@@ -902,7 +902,7 @@ public function showLog($sorted = false) {
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) {

0 comments on commit 8aa0f5a

Please sign in to comment.