*/
public function __construct (array $msgArray, $code) {
// Construct the message
- $message = sprintf("[%s:%d] SQL error detected. Message from database: <span class=\"exception_reason\">%s</span>, code: <span class=\"exception_reason\">%s</span>.",
+ $message = sprintf("[%s:%d] SQL error detected. Message from database: %s, code: %s.",
$msgArray[0]->__toString(),
$this->getLine(),
$msgArray[1],