1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 22:26:43 +02:00

fixed some bugs

This commit is contained in:
David Grudl
2007-11-12 14:35:55 +00:00
parent 46850aa588
commit d19eb5b815
8 changed files with 47 additions and 43 deletions

View File

@@ -51,7 +51,7 @@ class DibiDatabaseException extends DibiException
public function __construct($message = NULL, $code = 0, $sql = NULL)
{
parent::__construct($message);
parent::__construct($message, (int) $code);
$this->sql = $sql;
dibi::notify(NULL, 'exception', $this);
}