No HTML in exceptions
[core.git] / inc / classes / exceptions / main / class_InvalidInterfaceException.php
index 57182befdbe819bcdeb89f2c131165b99004fc61..c2a63282b57155d4794db44c0bf8c810d5a30fe7 100644 (file)
@@ -31,7 +31,7 @@ class InvalidInterfaceException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Object does not implement expected interface <span class=\"exception_reason\">%s</span>.",
+               $message = sprintf("[%s:%d] Object does not implement expected interface %s.",
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]