1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-10 08:04:32 +02:00

Debug Bar fix

This commit is contained in:
David Grudl
2010-04-06 12:36:05 +02:00
parent 52e5d43416
commit 550be3b10a
2 changed files with 6 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ class DibiException extends Exception implements /*Nette\*/IDebugPanel
*/
public function getPanel()
{
return dibi::dump($this->sql, TRUE);
return $this->sql ? dibi::dump($this->sql, TRUE) : NULL;
}