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