mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
adjust dbo source for sqlLogs variable
This commit is contained in:
parent
4c4fdc6f70
commit
8aa0f5a8e9
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue