Exceptions now with not so much underlines
[shipsimu.git] / application / ship-simu / exceptions / class_ContractPartnerMismatchException.php
index 3412676b6ff0b8ae8f5c0483b9d0505f63a5bdff..c2ff17fea9e3740c4336bb814be7f9839bf68113 100644 (file)
@@ -24,7 +24,7 @@
 class ContractPartnerMismatchException extends FrameworkException {
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:] Der Vertragspartner von <u>%s</u> ist ung&uuml;tig (<u>%s</u>) und darf diesen Vertrag nicht unterzeichnen!",
+               $message = sprintf("[%s:] Der Vertragspartner von <span id=\"exception_reason\">%s</span> ist ung&uuml;tig (<span id=\"exception_reason\">%s</span>) und darf diesen Vertrag nicht unterzeichnen!",
                        $classArray[0]->__toString(),
                        $classArray[1]->getCompanyName(),
                        $classArray[2]->getCompanyName()