adjust dbo source for sqlLogs variable

This commit is contained in:
euromark 2013-05-06 14:32:47 +02:00
parent 4c4fdc6f70
commit 8aa0f5a8e9

View file

@ -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) {