We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b45e33a commit 1f457f6Copy full SHA for 1f457f6
src/Bridges/DatabaseTracy/ConnectionPanel.php
@@ -112,7 +112,6 @@ public function getTab(): string
112
113
public function getPanel(): ?string
114
{
115
- $this->disabled = true;
116
if (!$this->count) {
117
return null;
118
}
@@ -125,7 +124,7 @@ public function getPanel(): ?string
125
124
if (!$error && $this->explain && $command === 'select') {
126
try {
127
$cmd = is_string($this->explain) ? $this->explain : 'EXPLAIN';
128
- $explain = $connection->queryArgs("$cmd $sql", $params)->fetchAll();
+ $explain = (new Nette\Database\ResultSet($connection, "$cmd $sql", $params))->fetchAll();
129
} catch (\PDOException $e) {
130
131
0 commit comments