]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions/class_ContractAllreadySignedException.php
Dummy admin area added, HTML code in PHP scripts rewritten to CSS classes, CSS ids...
[shipsimu.git] / application / ship-simu / exceptions / class_ContractAllreadySignedException.php
index 49699d53bddea594307c0dbd471ae8f080504db3..8198ce083c42dd0987d270bfdd413322e44d30f1 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
  */
 class ContractAllreadySignedException extends FrameworkException {
        public function __construct (array $classArray, $code) {
-               // Cast the array
-               $classArray = (array) $classArray;
-
                // Add a message around the missing class
-               $message = sprintf("[%s:] Die Vertragsparteien <u>%s</u> und <u>%s</u> haben den Vertrag bereits unterzeichnet!",
+               $message = sprintf("[%s:] Die Vertragsparteien <span class=\"exception_reason\">%s</span> und <span class=\"exception_reason\">%s</span> haben den Vertrag bereits unterzeichnet!",
                        $classArray[0]->__toString(),
                        $classArray[1]->getCompanyName(),
                        $classArray[2]->getCompanyName()