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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user