No HTML in exceptions
[core.git] / inc / classes / exceptions / state / class_InvalidStateInstanceException.php
index 7ebcf280941e253ebf26db53bd107e3f67bbe8f2..664b98c9d45b26411f627fe10f27249e33012ec1 100644 (file)
@@ -31,7 +31,7 @@ class InvalidStateInstanceException extends FrameworkException {
         */
        public function __construct (array $msgArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Invalid state <span class=\"exception_reason\">%s</span> of type <span class=\"exception_reason\">%s</span> detected.",
+               $message = sprintf("[%s:%d] Invalid state %s of type %s detected.",
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1],