Exceptions now with not so much underlines
[shipsimu.git] / inc / classes / exceptions / database / general / class_SqlException.php
index f7dddab54481d691495a61399fd3ed5cb1ec8f1c..2fbad56884ed8f59a9a366fce31f83d4fc0842fe 100644 (file)
@@ -31,7 +31,7 @@ class SqlException extends DatabaseException {
         */
        public function __construct (array $msgArray, $code) {
                // Construct the message
-               $message = sprintf("[%s:%d] SQL error detected. Message from database: <u>%s</u>, code: <u>%s</u>.",
+               $message = sprintf("[%s:%d] SQL error detected. Message from database: <span id=\"exception_reason\">%s</span>, code: <span id=\"exception_reason\">%s</span>.",
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1],